Hexo添加随机文章功能
插件
hexo自带有这个插件hexo-generator-random
GitHub项目地址:https://github.com/Drew233/hexo-generator-random
安装
npm先需要安装依赖
npm install object-assign |
安装插件
npm install hexo-generator-random --save |
然后再照常hexo d -g
,public下就会有个random.html
的文件了
菜单栏可以添加上该地址
menu:
Random | 随机文章: /random.html || fas fa-random
效果
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.

EdNovas云————高性价比,多国家节点,多地区奈飞迪士尼等流媒体解锁

AntLink蚁链————新用户注册免费使用50g/30天,便宜IPLC机场

Mocca Store————便宜稳定奈飞迪士尼等北美流媒体,办公设计学习软件会员
Comment