From 09b657370f1af3c2f6bd6e8cb7bedc3770d07dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=B9=E5=AE=87=E7=90=A8?= Date: Thu, 10 Sep 2020 00:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E5=85=B3=E9=97=AD=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=88=96=E9=A1=B5=E9=9D=A2=E7=9A=84=E7=89=88?= =?UTF-8?q?=E6=9D=83=E6=98=BE=E7=A4=BA=E5=92=8C=E5=88=86=E4=BA=AB=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加 no_copyright: true 和 no_sharing: true 可关闭特定文章或页面的版权显示和分享按钮。 --- layout/_partial/article.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 9155fbb..8315487 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -41,7 +41,7 @@ <% if (((theme.copyright_type === 2) || (theme.copyright_type === 1 && - post.copyright)) && !index){ %> + post.copyright)) && !index && !post.no_copyright){ %>
<% } %>