1.5新建分类

新建分类

新建分类 categories 页

1
hexo new page "categories"

用来展示所有分类的页面

/source/categories/index.md

1
2
3
4
5
6
---
title: categories
date: 2020-05-13 22:06:28
type: "categories"
layout: "categories"
---

新建标签 tags 页

1
hexo new page "tags"

用来展示所有标签的页面

/source/tags/index.md

1
2
3
4
5
6
---
title: tags
date: 2020-05-13 22:06:28
type: "tags"
layout: "tags"
---

新建留言板 contact 页

1
hexo new page "contact"

展示留言板信息的页面

/source/contact/index.md

1
2
3
4
5
6
---
title: contact
date: 2020-05-14 10:40:01
type: "contact"
layout: "contact"
---

依赖于第三方评论插件,需要启用自己的的评论系统才有效果。评论模块设置在matery目录下的_config.yml文件中。没有安装,不知道啥结果。

新建404界面

source目录新建404.md

1
2
3
4
5
6
7
---
title: 404
date: 2020-05-14 10:45:11
type: "404"
layout: "404"
description: "你来到了没有知识的荒原 "
---