Create a page
**In the initial state of the Hexo project, there are no categories (categories), tags (tags), links (friendship chains), about (about), or other pages, you need to create them manually. **
Take creating an "about" page as an example:
Use the following command in the root directory of the Hexo project to create an
about
page.After the creation is successful, open the
hexo/source/about/index.md
file in the root directory of the Hexo project to fill in the content of the about page. Markdown and HTML formats are supported.::: tip
comment: true
indicates that the comment function is enabled for this page. :::Refer to the following example:
Enable the
about
navigation menu in the theme configuration file_config.yml
.
The other pages are created in a similar way to the "about" page, so I won't repeat them here.
Last updated