feat: share button enable

This commit is contained in:
shenyu
2020-02-03 11:40:27 +08:00
parent 4c7e107c08
commit ed5e4803d1
2 changed files with 6 additions and 1 deletions

View File

@@ -41,8 +41,9 @@
<% } %>
</div>
<footer class="article-footer">
<a data-url="<%- post.permalink %>" data-id="<%= post._id %>"
<% if (theme.share_enable){ %><a data-url="<%- post.permalink %>" data-id="<%= post._id %>"
class="article-share-link"><%- theme.share_text %></a>
<% } %>
<%- partial('post/tag') %>
</footer>