diff --git a/_config.yml b/_config.yml index cc0b6860..b86b428d 100644 --- a/_config.yml +++ b/_config.yml @@ -44,6 +44,9 @@ config: menu_highlight: false # 是否开启当前菜单高亮显示 thumbnail: false # enable posts thumbnail, options: true, false excerpt_link: Read More + #New + isNewTabLinks: false #是否链接打开新标签页 + autoUnfold: true # 默认展开文章目录 # Pagination pagination: @@ -128,6 +131,9 @@ comment: repo: #必须. GitHub repository. ClientID: #必须. GitHub Application Client ID. ClientSecret: #必须. GitHub Application Client Secret. + enableHotKey: true + language: zh-CN + valine: # Valine. https://valine.js.org appid: # your leancloud application appid appkey: # your leancloud application appkey @@ -187,6 +193,7 @@ fb_app_id: # profile profile: enabled: true # Whether to show profile bar + articleSelfBlock: false # 关闭文章下方的自我介绍 avatar: images/avatar.jpg gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden author: 昵称 diff --git a/layout/_partial/item-post.ejs b/layout/_partial/item-post.ejs index 13815143..32da9a5c 100644 --- a/layout/_partial/item-post.ejs +++ b/layout/_partial/item-post.ejs @@ -1,5 +1,5 @@ <% if (type == 'link'){ %> - target="_blank" <%}%> itemprop="url">     <%= post.title %> @@ -25,7 +25,7 @@ <% } %> <% } else { %> - target="_blank" <%}%> itemprop="url">     <%= post.title %> diff --git a/layout/_partial/post/nav.ejs b/layout/_partial/post/nav.ejs index f897a361..217c4a40 100644 --- a/layout/_partial/post/nav.ejs +++ b/layout/_partial/post/nav.ejs @@ -14,8 +14,7 @@ <% } %> <% if (!index && theme.config.toc && post.toc) { %>
  • -