Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
添加字数统计于阅读统计
1.安装hexo-wordcount
插件
1 | npm i --save hexo-wordcount |
成功会在根目录下的package.json
中多出"hexo-wordcount": "^6.0.1"
2.安装hexo-symbols-count-time
1 | npm install hexo-symbols-count-time --save |
3.安装eslint
1 | npm install eslint --save |
4.在站点配置文件添加如下配置
1 | symbols_count_time: |
5.在主题配置文件中添加如下配置
1 | symbols_count_time: |
6.Next主题添加字数统计和阅读统计
在主题配置文件做如下更改
1 | post_wordcount: # 字数统计 |