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/partials/post/copyright.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'layouts/partials')
diff --git a/layouts/partials/post/copyright.html b/layouts/partials/post/copyright.html
index 813da5a..cbaefb7 100644
--- a/layouts/partials/post/copyright.html
+++ b/layouts/partials/post/copyright.html
@@ -7,7 +7,7 @@
{{ $lang.copyright.lastMod }}
- {{ .Lastmod.Format "2006-01-02" }}
+ {{ .Lastmod.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }}
{{ if $.Site.Params.linkToMarkDown -}}
{{ with $.OutputFormats.Get "markdown" -}}
--
cgit v1.2.3