Hexo显示文章字数与时长
安装npm 包:
1 | npm install hexo-symbols-count-time |
在博客根目录修改:_config.yml
:
1 | symbols_count_time: |
在 Next 配置文件中 \source\_data\next.yml
或 config
:
(默认会添加,切记不能重复添加)
1 | # Post wordcount display settings |
重新启动:
1 | npx hexo s |
参考:
安装npm 包:
1 | npm install hexo-symbols-count-time |
在博客根目录修改:_config.yml
:
1 | symbols_count_time: |
在 Next 配置文件中 \source\_data\next.yml
或 config
:
(默认会添加,切记不能重复添加)
1 | # Post wordcount display settings |
重新启动:
1 | npx hexo s |
参考: