Application Note #6 - Post Install

Objectives

  • post install procedures

References

  1. 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 # creates source/about/index.md

set front matter

  • edit the page /source/about/index.md
    1
    2
    3
    4
    ---
    title: About
    date: 2020-11-30 09:11:00
    ---

add to menu

  • 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

add to menu

  • edit _config.next.yml
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

  • edit tags/index.md
1
2
3
4
5
---
title: tags
date: 2020-11-30 09:22:40
type: tags
---

edit categories

  • edit categories/index.md
1
2
3
4
5
---
title: categories
date: 2020-11-30 09:22:35
type: categories
---

add to menu

  • edit _config.next.yml
1
2
3
4
menu:
home: / || fa fa-home
archives: /archives/ || fa fa-archive
about: /about/ || fa fa-user

back to Series…