diff options
author | amzrk2 | 2020-06-04 15:56:03 +0800 |
---|---|---|
committer | amzrk2 | 2020-06-04 15:56:03 +0800 |
commit | d185ecccaabcaf4a9cced394d5b72f246bc2e5e7 (patch) | |
tree | 559490939ee0de0d63bb8aa9f5aee4745cf9989d /layouts/_default/single.html | |
parent | 2cbde93423c7792929809e95a908913060d786cf (diff) | |
download | hugo-theme-fuji-d185ecccaabcaf4a9cced394d5b72f246bc2e5e7.tar.gz hugo-theme-fuji-d185ecccaabcaf4a9cced394d5b72f246bc2e5e7.tar.bz2 hugo-theme-fuji-d185ecccaabcaf4a9cced394d5b72f246bc2e5e7.zip |
Allow disable license globally
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 721671e..db5e2f5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,7 +16,7 @@ </div> </article> <!-- post license --> -{{ if ne .Params.noLicense true }} +{{ if and (.Site.Params.showLicense) (ne .Params.noLicense true) }} <div class="license markdown-body"> <blockquote> <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}" |