From 0530d8802e813949de837d4c93c26beb68043265 Mon Sep 17 00:00:00 2001 From: code004Accepted <36566134+code004Accepted@users.noreply.github.com> Date: Mon, 16 Nov 2020 20:25:18 +0800 Subject: [PATCH] New front-matter variable `copyright` (#139) --- layout/_macro/post.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/_macro/post.njk b/layout/_macro/post.njk index ac40839..6bf48e4 100644 --- a/layout/_macro/post.njk +++ b/layout/_macro/post.njk @@ -107,7 +107,7 @@ {{ partial('_partials/post/post-reward.njk') }} {%- endif %} - {%- if theme.creative_commons.license and theme.creative_commons.post %} + {%- if theme.creative_commons.license and theme.creative_commons.post and post.copyright !== false %} {{ partial('_partials/post/post-copyright.njk') }} {%- endif %}