From ab7cdc5d3c20f03b1e22f4c201ba29af06d139cb Mon Sep 17 00:00:00 2001 From: "Sanjay T. Sharma" Date: Sun, 24 Sep 2017 17:56:55 +0100 Subject: feat: provide the facility to customize date format (#10) --- layouts/post/single.html | 2 +- layouts/post/summary.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/post') diff --git a/layouts/post/single.html b/layouts/post/single.html index da83b70..7960c64 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -6,7 +6,7 @@

{{ .Title }}

- {{ .Date.Format "2006-01-02" }} + {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} {{ with .Params.categories -}}