diff --git a/_config.yml b/_config.yml index c8b1ef3..3bfb9e7 100755 --- a/_config.yml +++ b/_config.yml @@ -28,7 +28,7 @@ sidebar: index: [welcome, recent, timeline] # for home/wiki/categories/tags/archives/404 pages page: [welcome, toc] # for pages using 'layout:page' post: [toc, ghrepo] # for pages using 'layout:post' - wiki: [toc, ghrepo, wiki_more] # for pages using 'layout:wiki' + wiki: [toc, ghrepo, related] # for pages using 'layout:wiki' ######## Main ######## diff --git a/_data/widgets.yml b/_data/widgets.yml index a3ce81f..2c90eb4 100644 --- a/_data/widgets.yml +++ b/_data/widgets.yml @@ -6,8 +6,8 @@ # ---- 内置组件,暂时不支持覆盖 ---- ghrepo: layout: ghrepo -wiki_more: - layout: wiki_more +related: + layout: related # ---- 默认组件,可以覆盖自定义配置 ---- # 将其覆盖设置为空,可删除一个默认组件,例如 welcome: diff --git a/layout/_partial/sidebar/widgets/markdown.ejs b/layout/_partial/sidebar/widgets/markdown.ejs index a56f3b5..3ddb2f5 100644 --- a/layout/_partial/sidebar/widgets/markdown.ejs +++ b/layout/_partial/sidebar/widgets/markdown.ejs @@ -5,7 +5,7 @@ function layoutDiv() { return el; } el += '