0%
Objectives
References
- https://theme-next.js.org/docs/theme-settings/custom-pages
Procedures
Step 1 : Update hexo
Instructions…
Step 2 : Add about page
Reference…
1 2 3
| cd ~/static_web_sites/hexo/blog
hexo new page about
|
set front matter
- edit the page
/source/about/index.md
1 2 3 4
| --- title: About date: 2020-11-30 09:11:00 ---
|
- in _config.next.yml
1 2 3 4
| menu: home: / || fa fa-home archives: /archives/ || fa fa-archive about: /about/ || fa fa-user
|
Step 3 : Add tags and categories pages
Reference…
1 2
| hexo new page tags hexo new page categories
|
1 2 3 4 5 6
| menu: home: / || fa fa-home archives: /archives/ || fa fa-archive about: /about/ || fa fa-user tags: /tags/ || fa fa-tags categories: /categories/ || fa fa-th
|
edit front matter
1 2 3 4 5
| --- title: tags date: 2020-11-30 09:22:40 type: tags ---
|
edit categories
1 2 3 4 5
| --- title: categories date: 2020-11-30 09:22:35 type: categories ---
|
1 2 3 4
| menu: home: / || fa fa-home archives: /archives/ || fa fa-archive about: /about/ || fa fa-user
|