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/summary.html')
-rw-r--r--layouts/partials/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html
index 935b91a..7d91d48 100644
--- a/layouts/partials/summary.html
+++ b/layouts/partials/summary.html
@@ -17,7 +17,7 @@
{{- partial "tags.html" . -}}
<time class="text-eucalyptus-500 md:text-right md:flex-grow font-light"
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>
-</div> \ No newline at end of file
+</div>