hexo-theme-matery
hexo-theme-matery copied to clipboard
页面跳转到新标签
打开文章会创建一个新的标签,怎么样能在原来的标签打开文章, 还有 修改主题的 的yml会报错运行不了,ctrl + z 退回也不行..
可以参考hexo官方的配置说明 https://hexo.io/zh-cn/docs/configuration#%E6%96%87%E7%AB%A0
参数 | 描述 | 默认值 |
---|---|---|
external_link | 在新标签中打开链接 | true |
external_link.enable | 在新标签中打开链接 | true |
external_link.field | 对整个网站(site)生效或仅对文章(post)生效 | site |
external_link.exclude | 需要排除的域名。主域名和子域名如 www 需分别配置 | [] |
根目录的 .yml
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: false # 设置false还是新标签
Open external links in new tab
field: site # Apply to the whole site
exclude: ""
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true