feat: close reward and comments in md
This commit is contained in:
parent
63497f1ad2
commit
a38c874bb4
@ -34,7 +34,7 @@
|
|||||||
<%- post.content %>
|
<%- post.content %>
|
||||||
<% } %>
|
<% } %>
|
||||||
<!-- 打赏 -->
|
<!-- 打赏 -->
|
||||||
<% if ((theme.reward_type === 2 || (theme.reward_type === 1 && post.reward)) && !index){ %>
|
<% if ((theme.reward_type === 2 || (theme.reward_type === 1 && post.reward)) && !index && !post.no_reward){ %>
|
||||||
<div id="reward-btn">
|
<div id="reward-btn">
|
||||||
打赏
|
打赏
|
||||||
</div>
|
</div>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
<%- partial('post/nav') %>
|
<%- partial('post/nav') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (theme.valine && theme.valine.enable){ %>
|
<% if (theme.valine && theme.valine.enable && !post.no_valine){ %>
|
||||||
<%- partial('post/valine', {
|
<%- partial('post/valine', {
|
||||||
key: post.slug,
|
key: post.slug,
|
||||||
title: post.title,
|
title: post.title,
|
||||||
|
Loading…
Reference in New Issue
Block a user