From a6e116452f8d3f0e043107a1e0d047256514457b Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Wed, 31 Jan 2018 22:39:16 +0800 Subject: feat: add `postMetaInFooter` param add `postMetaInFooter` param to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license. --- layouts/partials/post/copyright.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/post/copyright.html b/layouts/partials/post/copyright.html index 71494d0..cd42d68 100644 --- a/layouts/partials/post/copyright.html +++ b/layouts/partials/post/copyright.html @@ -1,4 +1,4 @@ -{{ if or .Params.contentCopyright (and .Site.Params.contentCopyright (ne .Params.contentCopyright false)) }} +{{ if or .Params.postMetaInFooter (and .Site.Params.postMetaInFooter (ne .Params.postMetaInFooter false)) -}}
{{- end }} {{- end }} + {{ if or .Params.contentCopyright (and .Site.Params.contentCopyright (ne .Params.contentCopyright false)) -}} + {{- end }}
{{- end }} \ No newline at end of file -- cgit v1.2.3