A simple Hexo Theme based hexo-theme-zero
Here is a Demo.
# cd your-blog-root-site
git clone https://github.com/kpl0111/zero.git ./themes/zero
- hexo-generator-searchdb
# cd your-blog-root-site
npm install hexo-generator-searchdb --save
-
Edit the site configuration file.
Note that: you must disable the =highlight= of site =_config.yml=, and update =theme= fragment as =zero=.
# root/_config.yml # highlight settings highlight: enable: false line_number: false auto_detect: false tab_replace: # theme settings theme: zero # hexo-generator-searchdb search: path: search.xml field: post format: html
-
Edit the theme configuration file
# root/themes/zero/_config.yml # you can add or subtract menu items there menu: Nefelibata: ../ Blog: / Gallery: ../gallery Github: https://github.com/kpl0111 About: ../about excerpt_link: Read More favicon: url: /images/favicon.png # MathJax Support mathjax: enable: true cdn: https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-AMS-MML_HTMLorMML