From 100448a007707c049a769cb71cd170fcb5b64a25 Mon Sep 17 00:00:00 2001 From: Xinyu Zhou Date: Fri, 28 Oct 2022 23:17:38 +0800 Subject: 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 Co-authored-by: 6543 <6543@obermui.de> --- custom/conf/app.example.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom/conf') 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- cgit v1.2.3