效果图:
本文是以 NexT
主题为例, 其主题中自带该插件的配置, 其他主题大致类似, 可以自行更改;
- 安装插件
1 | npm install --save hexo-related-popular-posts |
- 在
next
主题配置文件_config.yml
中
1 | # Related popular posts |
- 然后执行
hexo clean && hexo g && hexo s
, 在浏览器上查看效果;
效果图:
本文是以 NexT
主题为例, 其主题中自带该插件的配置, 其他主题大致类似, 可以自行更改;
1 | npm install --save hexo-related-popular-posts |
next
主题配置文件 _config.yml
中1 | # Related popular posts |
hexo clean && hexo g && hexo s
, 在浏览器上查看效果;猜你还想看
本文标题:[Hexo 博客插件系列-01] 相关文章之 hexo-related-popular-posts
文章作者:Memento
发布时间:2019年04月13日 - 21:04
最后更新:2020年06月26日 - 16:06
原始链接:https://memento.net.cn/post/4af0cb81.html
许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。