Merge branch 'master' of https://github.com/Shen-Yu/hexo-theme-ayer
This commit is contained in:
commit
4c72c3521c
@ -207,6 +207,7 @@ layout:
|
|||||||
sidebar_width: 8rem
|
sidebar_width: 8rem
|
||||||
|
|
||||||
# Comment:1、Valine (recommended);2、Gitalk
|
# Comment:1、Valine (recommended);2、Gitalk
|
||||||
|
# You can close the comment section on one of your posts by marking `comments: false` in front-matter.
|
||||||
|
|
||||||
# 1、Valine [A fast, simple & powerful comment system](https://github.com/xCss/Valine)
|
# 1、Valine [A fast, simple & powerful comment system](https://github.com/xCss/Valine)
|
||||||
# You need create leancloud account first (https://console.leancloud.app), then put the id|key in below.
|
# You need create leancloud account first (https://console.leancloud.app), then put the id|key in below.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<% if (theme.gitalk.enable) { %>
|
<% if (theme.gitalk.enable && post.comments) { %>
|
||||||
<div class="gitalk" id="gitalk-container"></div>
|
<div class="gitalk" id="gitalk-container"></div>
|
||||||
<%- css('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.css') %>
|
<%- css('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.css') %>
|
||||||
<%- js('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.min.js') %>
|
<%- js('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.min.js') %>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<% if (!index && theme.leancloud && theme.leancloud.enable){ %>
|
<% if (!index && theme.leancloud && theme.leancloud.enable && post.comments){ %>
|
||||||
<!-- minivaline评论 -->
|
<!-- minivaline评论 -->
|
||||||
<div id="mvcomments-box">
|
<div id="mvcomments-box">
|
||||||
<div id="mvcomments"></div>
|
<div id="mvcomments"></div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<% if (!index && theme.leancloud && theme.leancloud.enable){ %>
|
<% if (!index && theme.leancloud && theme.leancloud.enable && post.comments){ %>
|
||||||
<!-- valine评论 -->
|
<!-- valine评论 -->
|
||||||
<div id="vcomments-box">
|
<div id="vcomments-box">
|
||||||
<div id="vcomments"></div>
|
<div id="vcomments"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user