menu
menu:
Home: /
Archives: /archives
# Categories: /categories
# Tags: /tags
# Links: /links
# About: /about
# ...Website header navigation menu, if you need to add a new navigation menu, fill in the above format, also need to create the corresponding Hexo page.

The Hexo project does not have pages such as categories (categories), tags (tags), about (about), and links (friendship chains), which need to be created manually.
Take creating an "about" page as an example:
Execute the command
hexo new page aboutin the root directory of the Hexo project to generate the about folder in thesourcedirectory.Add
About: /aboutunder themenuconfiguration item in the Redefine theme configuration file_config.redefine.yml.Among them, the front
Aboutis the name displayed on the home page, and the latter/aboutis the page pathOpen the
/source/about/index.mdfile under the Hexo project and fill in the content of the about page. Supports Markdown and HTML formats;The reference is as follows:
::: tip
comment: truemeans that the page enables the comment function. :::::: danger Do not modify the
titleattribute that is automatically generated when the page is created! Do not delete it! For example:title: aboutcannot be modified! :::
If you want to jump to a third-party website when you click the menu in the navigation bar, you only need to fill in the value of the configuration item as the URL of the third-party website. For example: configure to go to Google in the header navigation bar
Last updated