feat: front matter adds the `copyright_info` setting item (#196)
This commit is contained in:
parent
5ee42c0605
commit
c1921cc851
|
@ -41,7 +41,9 @@
|
||||||
<%- page.content %>
|
<%- page.content %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if (theme.post?.copyright_info === true || theme?.copyright_info?.enable === true) { %>
|
<% if (
|
||||||
|
(theme.post?.copyright_info === true || theme?.copyright_info?.enable === true) && page?.copyright_info !== false
|
||||||
|
) { %>
|
||||||
<div class="post-copyright-info">
|
<div class="post-copyright-info">
|
||||||
<%- partial('_partial/article-copyright-info') %>
|
<%- partial('_partial/article-copyright-info') %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue