diff --git a/_config.yml b/_config.yml
index c946daa..56bd1bd 100755
--- a/_config.yml
+++ b/_config.yml
@@ -18,11 +18,16 @@ open_graph:
######## Sidebar ########
+# 左上角显示的 logo 区域,包含图标、大标题、副标题
logo:
- avatar: '[config.avatar](/about/)' # you can set avatar link in _config.yml or '[https://xxx.png](/about/)'
- title: '[config.title](/)' # you can set html tag like: '[](/)'
- subtitle: # 文字1 | 文字2(鼠标放上去会切换到文字2)
+ avatar: '[config.avatar](/about/)' # you can set avatar link in _config.yml or '[https://xxx.png](/about/)'
+ title: '[config.title](/)' # you can set html tag like: '[](/)'
+ subtitle: '' # '文字1 | 文字2' (鼠标放上去会切换到文字2)
+# 侧边栏主功能导航菜单
+# 自己可以增加任意的键值对
+# 键:就是 menu_id,后面需要用到
+# 值:就是显示的 md 链接,方括号内支持文字和图片标签
menu:
# post: '[btn.blog](/)'
# wiki: '[btn.wiki](/wiki/)'
diff --git a/languages/en.yml b/languages/en.yml
index 219dfd9..e2bd87c 100755
--- a/languages/en.yml
+++ b/languages/en.yml
@@ -24,7 +24,7 @@ meta:
related_posts: Related Posts
comment_title: Join the discussion
back_to_top: Back to top
- more: 'More %s'
+ more: More
created_author: '%s posted on'
created: 'Posted on'
updated: 'Updated on'
diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml
index 47af653..bdca9a5 100755
--- a/languages/zh-CN.yml
+++ b/languages/zh-CN.yml
@@ -24,7 +24,7 @@ meta:
related_posts: 您可能感兴趣的文章
comment_title: 快来参与讨论吧
back_to_top: 回到顶部
- more: '更多「%s」'
+ more: 更多
created_author: 本文由 %s 发布于
created: 发布于
updated: 更新于
diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml
index 7f557d6..2d43d1e 100755
--- a/languages/zh-TW.yml
+++ b/languages/zh-TW.yml
@@ -24,7 +24,7 @@ meta:
related_posts: 您可能感興趣的文章
comment_title: 參與討論
back_to_top: 回到頁首
- more: '更多「%s」'
+ more: 更多
created_author: 本文由 %s 發布於
created: 發布於
updated: 更新於
diff --git a/layout/_partial/widgets/related.ejs b/layout/_partial/widgets/related.ejs
index 4667d7a..d218140 100644
--- a/layout/_partial/widgets/related.ejs
+++ b/layout/_partial/widgets/related.ejs
@@ -32,7 +32,7 @@ function relatedWiki() {
for (let relatedItem of relatedItems) {
el += ``
el += ``
el += ``
for (let id of relatedItem.items) {
diff --git a/scripts/events/lib/config.js b/scripts/events/lib/config.js
index 8fbcbd5..102df2a 100644
--- a/scripts/events/lib/config.js
+++ b/scripts/events/lib/config.js
@@ -57,7 +57,7 @@ module.exports = hexo => {
// default menu
if (hexo.theme.config.menu == undefined) {
- hexo.theme.config.menu = [];
+ hexo.theme.config.menu = {};
}
};