hexo-next博客
设置中文
修改hexo自己的_config.yml的language即可
language: zh-CN
设置标签/分类
- 开启menu功能
1
2
3
4
5
6
7
8
9
10# 修改next框架的menu属性
menu:
home: / || fa fa-home
#about: /about/ || fa fa-user
tags: /tags/ || fa fa-tags
categories: /categories/ || fa fa-th
#archives: /archives/ || fa fa-archive
#schedule: /schedule/ || fa fa-calendar
#sitemap: /sitemap.xml || fa fa-sitemap
#commonweal: /404/ || fa fa-heartbeat - 生成index.html文件
1
2
3
4标签
hexo n page tags
目录
hexo n page categories - 修改index.html文件
1
2
3
4
5
6
7
8
9
10
11
12
13tags对应index.html文件:
---
title: "标签"
date: 2022-08-27 23:57:49
type: "tags"
---
categories对应index.html文件:
---
title: "目录"
date: 2022-08-27 23:57:49
type: "categories"
---