HEXO 安装

2020-04-15  本文已影响0人  何哀何欢

install basic

install node.js
npm install -g hexo-cli
install pandoc

如果是从git pull下来的老项目:

npm install

如果是新建项目:

hexo init
npm install hexo-deployer-git --save
npm uninstall hexo-renderer-marked --save
npm install hexo-renderer-pandoc --save
npm install hexo-filter-mermaid-diagrams --save 
npm install hexo-filter-flowchart --save 

NexT

git clone https://github.com/theme-next/hexo-theme-next themes/next

_config.yml

theme: next

unique path

npm install hexo-unique-post-path --save

_config.yml

unique_post_path:
 type: new2_post_title
hexo new2 "blog title"
上一篇 下一篇

猜你喜欢

热点阅读