diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 41aba45..cccbcfb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -32,7 +32,7 @@ {{ .Title | markdownify }}
{{ .Summary }}
@@ -58,4 +58,4 @@ -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0202773..7557ffd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,7 +10,7 @@ {{ partial "tags" .Params.tags }} {{ end }} - {{ i18n "published" }} {{ .CurrentSection.Name }} {{ i18n "on" }} {{ .Date.Format "2006-01-02" }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}. + {{ i18n "published" }} {{ .CurrentSection.Name }} {{ i18n "on" }} {{ (time .Date ) | time.Format (.Params.date_format | default "2 January 2006" ) }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.