diff options
author | Jordi Bares <jordibares@hotmail.com> | 2019-03-26 11:59:35 +0000 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-03-29 16:16:04 +0100 |
commit | 062f14b9a19f65d6ab72800f5d436b05ce07853d (patch) | |
tree | 0f0a468fa36793b534f8e005309fd6cc0162d1c7 /layouts/posts | |
parent | d4abb9d34bca7ed171c46cf32b3e301e583bcfd0 (diff) |
Theme date formatting in config file
Diffstat (limited to 'layouts/posts')
-rw-r--r-- | layouts/posts/list.html | 2 | ||||
-rw-r--r-- | layouts/posts/single.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 4756d74..0821998 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -6,7 +6,7 @@ <a href="{{ .RelPermalink }}">{{ .Title }}</a> </h2> <h5> - <strong>{{ .Date.Format "January 2, 2006" }}</strong> + <strong>{{ .Date.Format .Site.Params.DateForm }}</strong> </h5> <p class="markdown"> {{- .Summary -}} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 6b0712e..45ff3c7 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -2,7 +2,7 @@ <header> <h1>{{ .Title }}</h1> <h5> - <strong>{{ .Date.Format "January 2, 2006" }}</strong> + <strong>{{ .Date.Format .Site.Params.DateForm }}</strong> </h5> </header> <article class="markdown"> |