修改配置
This commit is contained in:
parent
470a4bdd9c
commit
85fe298c7c
@ -33,7 +33,7 @@ scheme: Paradox
|
|||||||
|
|
||||||
# UI & UX: slogan, color, effect
|
# UI & UX: slogan, color, effect
|
||||||
uiux:
|
uiux:
|
||||||
slogan: "对的,坚持!错的,放弃!"
|
slogan: "爱音乐!爱生活!"
|
||||||
theme_color: "#77546f"
|
theme_color: "#77546f"
|
||||||
theme_sub_color: ""
|
theme_sub_color: ""
|
||||||
hyperlink_color: "#679cc5"
|
hyperlink_color: "#679cc5"
|
||||||
@ -164,23 +164,23 @@ sidebar:
|
|||||||
pages:
|
pages:
|
||||||
时间轴:
|
时间轴:
|
||||||
link: "/timeline"
|
link: "/timeline"
|
||||||
icon: person
|
icon: schedule
|
||||||
divider: true
|
divider: true
|
||||||
标签:
|
标签:
|
||||||
link: "/tags"
|
link: "/tags"
|
||||||
icon: person
|
icon: label
|
||||||
divider: false
|
divider: false
|
||||||
图库:
|
图库:
|
||||||
link: "/gallery"
|
link: "/gallery"
|
||||||
icon: person
|
icon: class
|
||||||
divider: false
|
divider: false
|
||||||
我的足迹:
|
我的足迹:
|
||||||
link: "/footprint"
|
link: "/footprint"
|
||||||
icon: person
|
icon: flight_takeoff
|
||||||
divider: true
|
divider: true
|
||||||
About:
|
About:
|
||||||
link: "/about"
|
link: "/about"
|
||||||
icon: person
|
icon: face
|
||||||
divider: false
|
divider: false
|
||||||
article_num:
|
article_num:
|
||||||
use: true
|
use: true
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<div class="mdl-mini-footer--right-section">
|
<div class="mdl-mini-footer--right-section">
|
||||||
<div>
|
<div>
|
||||||
<div class="footer-develop-div">Powered by <a href="https://hexo.io" target="_blank" class="footer-develop-a">Hexo</a></div>
|
<div class="footer-develop-div">Powered by <a href="https://hexo.io" target="_blank" class="footer-develop-a">Hexo</a></div>
|
||||||
<div class="footer-develop-div">Theme - <a href="https://github.com/viosey/hexo-theme-material" target="_blank" class="footer-develop-a">Material</a></div>
|
<!-- <div class="footer-develop-div">Theme - <a href="https://github.com/viosey/hexo-theme-material" target="_blank" class="footer-develop-a">Material</a></div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
0
themes/material/layout/_widget/comment/valine/common.ejs
Executable file
0
themes/material/layout/_widget/comment/valine/common.ejs
Executable file
2
themes/material/layout/_widget/comment/valine/enter.ejs
Executable file
2
themes/material/layout/_widget/comment/valine/enter.ejs
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
<div id="comment" style='padding:10px;' class="vcomment"></div>
|
||||||
|
<%- partial('_widget/comment/' + theme.comment.use + '/main') %>
|
22
themes/material/layout/_widget/comment/valine/main.ejs
Executable file
22
themes/material/layout/_widget/comment/valine/main.ejs
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
|
||||||
|
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>
|
||||||
|
<script>
|
||||||
|
var GUEST_INFO = ['nick','mail','link'];
|
||||||
|
var guest_info = '<%= theme.comment.valine_guest_info %>'.split(',').filter(function(item){
|
||||||
|
return GUEST_INFO.indexOf(item) > -1
|
||||||
|
});
|
||||||
|
var notify = '<%= theme.comment.valine_notify %>' == true;
|
||||||
|
var verify = '<%= theme.comment.valine_verify %>' == true;
|
||||||
|
new Valine({
|
||||||
|
el: '.vcomment',
|
||||||
|
notify: notify,
|
||||||
|
verify: verify,
|
||||||
|
appId: "<%= theme.comment.valine_leancloud_appId %>",
|
||||||
|
appKey: "<%= theme.comment.valine_leancloud_appKey %>",
|
||||||
|
placeholder: "<%= theme.comment.valine_placeholder %>",
|
||||||
|
pageSize:'<%= theme.comment.valine_pageSize %>',
|
||||||
|
avatar:'<%= theme.comment.valine_avatar %>',
|
||||||
|
lang:'<%= theme.comment.valine_lang %>',
|
||||||
|
guest_info: guest_info
|
||||||
|
});
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user