From d185ecccaabcaf4a9cced394d5b72f246bc2e5e7 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 4 Jun 2020 15:56:03 +0800 Subject: Allow disable license globally --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.html') 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 @@ -{{ if ne .Params.noLicense true }} +{{ if and (.Site.Params.showLicense) (ne .Params.noLicense true) }}