Skip to content

Commit e2f0671

Browse files
committed
config: add rss feed
1 parent 60fd90e commit e2f0671

File tree

4 files changed

+123
-1
lines changed

4 files changed

+123
-1
lines changed

_config.redefine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ inject:
461461
plugins:
462462
# RSS feed. Requires hexo-generator-feed (npm i hexo-generator-feed). See https://github.com/hexojs/hexo-generator-feed
463463
feed:
464-
enable: false # Whether to enable
464+
enable: true # Whether to enable
465465
# Aplayer. See https://github.com/DIYgod/APlayer
466466
aplayer:
467467
enable: false # Whether to enable

_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,8 @@ marked:
112112
## Docs: https://hexo.io/docs/one-command-deployment
113113
deploy:
114114
type: ''
115+
116+
# RSS Feed settings
117+
feed:
118+
icon: /images/icon.svg
119+
content: false # let users read full content in browser

package-lock.json

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"hexo-directory-category": "^1.1.4",
1717
"hexo-generator-archive": "^2.0.0",
1818
"hexo-generator-category": "^2.0.0",
19+
"hexo-generator-feed": "^3.0.0",
1920
"hexo-generator-index": "^4.0.0",
2021
"hexo-generator-searchdb": "^1.5.0",
2122
"hexo-generator-tag": "^2.0.0",

0 commit comments

Comments
 (0)