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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/page-header.html')
-rw-r--r--layouts/partials/page-header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html
index 6aeb563..8aef02b 100644
--- a/layouts/partials/page-header.html
+++ b/layouts/partials/page-header.html
@@ -13,8 +13,8 @@
{{- partial "tags.html" . -}}
<time class="text-eucalyptus-500 md:text-right md:flex-grow font-light pl-4"
datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
- {{- .Date.Format "2006-1-2 15:04" -}}
+ {{- .Date.Format (.Site.Params.PostDateFormat | default "2006-1-2 15:04") -}}
</time>
</div>
{{ partial "toc.html" . }}
-<hr /> \ No newline at end of file
+<hr />