Hexo开启推荐/相关阅读

原作者:https://github.com/tea3/hexo-related-popular-posts

1.安装插件

npm install hexo-related-popular-posts --save

使用cnpmcnpm install hexo-related-popular-posts --save

2. _theme配置

1
2
3
4
5
6
7
8
9
10
related_posts:
enable: true
title: 推荐阅读 # Custom header, leave empty to use the default one
display_in_home: false
params:
maxCount: 3
#PPMixingRate: 0.0
#isDate: false
#isImage: true
#isExcerpt: false