From 062f14b9a19f65d6ab72800f5d436b05ce07853d Mon Sep 17 00:00:00 2001 From: Jordi Bares Date: Tue, 26 Mar 2019 11:59:35 +0000 Subject: Theme date formatting in config file --- layouts/posts/list.html | 2 +- layouts/posts/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/posts') 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 @@ {{ .Title }}
- {{ .Date.Format "January 2, 2006" }} + {{ .Date.Format .Site.Params.DateForm }}

{{- .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 @@

{{ .Title }}

- {{ .Date.Format "January 2, 2006" }} + {{ .Date.Format .Site.Params.DateForm }}
-- cgit v1.2.3