diff options
Diffstat (limited to 'layouts/partials/post/copyright.html')
-rw-r--r-- | layouts/partials/post/copyright.html | 4 |
1 files changed, 3 insertions, 1 deletions
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)) -}} <div class="post-copyright"> <p class="copyright-item"> <span class="item-title">{{ T "author" }}</span> @@ -16,6 +16,7 @@ </p> {{- end }} {{- end }} + {{ if or .Params.contentCopyright (and .Site.Params.contentCopyright (ne .Params.contentCopyright false)) -}} <p class="copyright-item"> <span class="item-title">{{ T "license" }}</span> <span class="item-content"> @@ -26,5 +27,6 @@ {{- end -}} </span> </p> + {{- end }} </div> {{- end }}
\ No newline at end of file |