diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ef5d6f3..ec8038e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,7 +8,7 @@ </h1> {{- if .Params.hideMeta }}{{ else }} <div class="post-meta"> - <time>{{ .Date.Format "January 2, 2006" }}</time> + <time>{{ .Date.Format (default "January 2, 2006" .Site.Params.DateFormat) }}</time> {{- if $.Site.Params.ShowReadingTime -}} ยท {{- $default_txt := print .ReadingTime " " "min" }} {{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }} |
