0
点赞
收藏
分享

微信扫一扫

如何修改博客主题配置

青鸾惊鸿 2022-04-13 阅读 112
github

如何修改博客主题配置

1、打开themes里面主题中的_config.yml文件

2、修改方法

3、实现多个标签

4、效果如下

5、标签界面设置:在hexo文件夹下面鼠标右键Git Bash Here打开命令窗口,输入hexo new page tags

hexo new page tags

6、然后将以下复制到 /source/categories/index.md 文件

title: 标签
type: "tags"
layout: "tags"

7、效果如下

8、在命令窗口,输入hexo new page friends

hexo new page friends

9、然后将以下复制到 /source/friends/index.md 文件

title: friends
type: friends
layout: "friends"

10、效果如下

举报

相关推荐

0 条评论