New front-matter variable copyright (#139)

This commit is contained in:
code004Accepted 2020-11-16 20:25:18 +08:00 committed by GitHub
parent b3769198ea
commit 0530d8802e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}