如何修改主题配置

如何修改主题配置

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

2、修改方法

3、实现多个标签

4、效果如下

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

1
hexo new page tags

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

1
2
3
title: 标签
type: "tags"
layout: "tags"

7、效果如下

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

1
hexo new page friends

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

1
2
3
title: friends
type: friends
layout: "friends"

10、效果如下

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2022-2024 祝小炉
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信