Skip to content

Commit d47a64f

Browse files
committed
add rss support
1 parent 81c2ad1 commit d47a64f

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

_config.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,17 @@ search:
8888
path: search.xml
8989
field: post
9090
format: html
91-
limit: 10000
91+
limit: 10000
92+
93+
# RSS
94+
## https://github.com/hexojs/hexo-generator-feed
95+
feed:
96+
type: atom
97+
path: atom.xml
98+
limit: 20
99+
hub:
100+
content:
101+
content_limit: 140
102+
content_limit_delim: ' '
103+
order_by: -date
104+
icon: icon.png

package-lock.json

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"hexo-deployer-git": "^1.0.0",
1111
"hexo-generator-archive": "^0.1.5",
1212
"hexo-generator-category": "^0.1.3",
13+
"hexo-generator-feed": "^1.2.2",
1314
"hexo-generator-index": "^0.2.1",
1415
"hexo-generator-searchdb": "^1.0.8",
1516
"hexo-generator-sitemap": "^1.2.0",

0 commit comments

Comments
 (0)