添加关闭valine评论区的front-matter

在文章头添加`comment: false`可以关闭单篇文章的valine评论区。
This commit is contained in:
hankzhangcn 2020-11-26 15:09:33 +08:00 committed by GitHub
parent e868170925
commit 47d33f0b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
<% if (!index && theme.leancloud && theme.leancloud.enable){ %>
<% if (!index && theme.leancloud && theme.leancloud.enable && post.comment!=false){ %>
<!-- valine评论 -->
<div id="vcomments-box">
<div id="vcomments"></div>