Create 'about' and 'tags' page in HEXO
In this text, I will introduce how to create ‘about’ and ‘tags’ page in Hexo.
Create new pages
First of all, use the following commands to create about page and tags page.
1 | hexo new page about |
Edit the about page
It’s easy to make the ‘about page’, as you can use Markdown to describe what you want to show on it.
The index.md
file will be created in the source\about
path, just edit it .
Edit the tags page
You can see a index.md
file in source\tags
, open it.
Add the following two lines after date
line
1 | type: "tags" |
Then , the file will looks like:
1 | --- |
While editing new posts, add tags after title, then the tags you added in the posts will be shown on the tags page.
Such as:
1 | --- |