aboutsummaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorXinyu Zhou2022-11-21 13:14:58 +0800
committerGitHub2022-11-21 13:14:58 +0800
commitb4802b9b2eae044e35f022dc7116986e4762a944 (patch)
tree797be6fa1bff09a869c03344d4d01cb5710b9973 /custom
parent9380bb6d0c7fb8d2652d19a9aec87994a6e99f8c (diff)
Allow disable RSS/Atom feed (#21622)
This patch provide a mechanism to disable RSS/Atom feed. Signed-off-by: Xinyu Zhou <i@sourcehut.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 8e85394d3..76482bf60 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2234,7 +2234,9 @@ ROUTER = console
;; Show template execution time in the footer
;SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
;; Generate sitemap. Defaults to `true`.
-; ENABLE_SITEMAP = true
+;ENABLE_SITEMAP = true
+;; Enable/Disable RSS/Atom feed
+;ENABLE_FEED = true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;