Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuy Tran <hoang.huy.tran@gmail.com>2019-02-12 03:47:57 +0300
committerGitHub <noreply@github.com>2019-02-12 03:47:57 +0300
commit754c3149dc78d5ffb61d63221ea07fe1696b6ff1 (patch)
tree5cf0de89161db0ca578369986e9c4089306954e0
parent8edca610b24618a1c4260959020a225869a43cda (diff)
parent2a8d9d4097b07e2ef5d8e17411470208f2ad8789 (diff)
Merge pull request #64 from EpicEric/feature/dateformat-posts-list
Use dateformat parameter in posts list
-rw-r--r--layouts/partials/posts-list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/posts-list.html b/layouts/partials/posts-list.html
index 8b98604..5041615 100644
--- a/layouts/partials/posts-list.html
+++ b/layouts/partials/posts-list.html
@@ -3,7 +3,7 @@
<span class="list__title--small">
<a href="{{ .RelPermalink }}" {{if .Draft}}class="draft"{{end}}>{{ .Title }}</a>
{{if not .Date.IsZero}}
- <time class="pull-right hidden-tablet">{{.Date.Format ("Jan 02 '06")}}</time>
+ <time class="pull-right hidden-tablet">{{ .Date.Format (.Site.Params.dateformat | default "Jan 02 '06") }}</time>
{{end}}
</span>
</li>