A Knowledge Base Theme for Hexo.
$ git clone https://github.com/cheng-kang/hexo-theme-qna.git themes/QnAModify theme setting in _config.yml to QnA.
cd themes/QnA
git pullInstall hexo-deployer-git plugin for Hexo.
$ npm install hexo-deployer-git --saveEdit _config.yml in root directory of your Hexo blog.
deploy:
type: git
repo: <repository url> # https://github.com/cheng-kang/hexo-theme-qna.git
branch: [branch] # masterBy default, QnA support English in-site search.
Install hexo-generator-search plugin for Hexo.
$ npm install hexo-generator-search --save- Add a new page with page name, e.g. about page. You can change page content by editing
source/<page_name>/index.md.
$ hexo new page about- Edit
_config.ymlin theme/QnA.
menu:
Home: /
Archive: /archives
# Add new page config here
# Page Dispay Name: /pagename
# e.g.
About: /about