diff options
author | amzrk2 | 2020-06-18 14:17:51 +0800 |
---|---|---|
committer | amzrk2 | 2020-06-18 14:17:51 +0800 |
commit | 5c68750e0cd265464aa55b1f1d89e54f7e71ccc0 (patch) | |
tree | ae18deafe399e234b50b1da2ed48bd998b344248 /layouts/_default/single.html | |
parent | d75e82b6098c9325ae61f26f765e390f9bfe02cc (diff) | |
download | hugo-theme-fuji-5c68750e0cd265464aa55b1f1d89e54f7e71ccc0.tar.gz hugo-theme-fuji-5c68750e0cd265464aa55b1f1d89e54f7e71ccc0.tar.bz2 hugo-theme-fuji-5c68750e0cd265464aa55b1f1d89e54f7e71ccc0.zip |
Optimize toc & license settings logic
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 413cacc..26a8213 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,7 +16,7 @@ </div> </article> <!-- post license --> -{{ if and (.Site.Params.showLicense) (ne .Params.noLicense true) }} +{{ if and (or .Site.Params.showLicense .Params.showLicense) (ne .Params.showLicense false) }} <div class="license markdown-body"> <blockquote> <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}" |