aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorXinyu Zhou <its@baronbunny.cn>2022-10-28 23:17:38 +0800
committerGitHub <noreply@github.com>2022-10-28 11:17:38 -0400
commit100448a007707c049a769cb71cd170fcb5b64a25 (patch)
tree2e46e2d5b942906d87d0be3af7f882501c28c5bf /custom/conf
parentcd5c067abe6b3d33a35ec6904abc91a0b18edfd9 (diff)
downloadgitea-100448a007707c049a769cb71cd170fcb5b64a25.tar.gz
gitea-100448a007707c049a769cb71cd170fcb5b64a25.zip
Allow disable sitemap (#21617)
This patch provide a mechanism to disable [sitemap](https://github.com/go-gitea/gitea/pull/18407). Signed-off-by: Xinyu Zhou <i@sourcehut.net> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index ec0b7c5235..b59ceee4f1 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2196,7 +2196,8 @@ ROUTER = console
;SHOW_FOOTER_VERSION = true
;; Show template execution time in the footer
;SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
-
+;; Generate sitemap. Defaults to `true`.
+; ENABLE_SITEMAP = true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;