diff --git a/_config.yml b/_config.yml index 6ab0e59..976c33f 100755 --- a/_config.yml +++ b/_config.yml @@ -24,7 +24,8 @@ widgets: - categories # 显示分类 - tagcloud # 显示tags # - socials # 显示自己的社交信息 - # - music # 显示自己的网易云歌单 + - music # 显示自己的网易云歌单 + - links # 显示友链 # 右边的联系信息小窗口 contacts: @@ -41,6 +42,13 @@ contacts: # badget: "@xaoxuu" # url: https://www.twitter.com/xaoxuu +# 侧边栏的友链 +links: +- name: Jarvis Wu + url: https://changwenwu.github.io +- name: Justin Yang + url: http://lifestyle1.cn/ + # 页面底部的社交信息 social: @@ -60,7 +68,7 @@ social: # 推荐文章 npm install hexo-recommended-posts --save recommended_posts: - enabled: true + enabled: true # Search search: @@ -80,14 +88,8 @@ search: # baidu baidu_api_id: -# friends link -links: - - # Less less: compress: true - - diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index c13344b..ff1aea7 100755 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -71,7 +71,7 @@ <% if (post.comments) { %> <% if (config.livere_shortname || config.valine){ %> -

评论

+

  评论

<% } %> <% if (config.livere_shortname){ %>
diff --git a/layout/_partial/post/recommended_posts.ejs b/layout/_partial/post/recommended_posts.ejs index 9561fbf..dbd6ff1 100644 --- a/layout/_partial/post/recommended_posts.ejs +++ b/layout/_partial/post/recommended_posts.ejs @@ -1,7 +1,7 @@ <% var post_list = recommended_posts(page, site) %> <% if(post_list.length > 0) { %>