summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorYakov <git@yakov.cloud>2024-04-03 18:01:50 +0200
committerGergely Nagy <forgejo@gergo.csillger.hu>2024-04-07 15:40:31 +0200
commitb0ff1a17a4d733bdc527d1c62db1ef36d9d3321e (patch)
tree61dd4f7926160060abf7e001016256278f6436ef /custom
parentfix: close file in the Upload func (#30262) (diff)
downloadforgejo-b0ff1a17a4d733bdc527d1c62db1ef36d9d3321e.tar.xz
forgejo-b0ff1a17a4d733bdc527d1c62db1ef36d9d3321e.zip
Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253)
This allows you to hide the "Powered by" text in footer via `SHOW_FOOTER_POWERED_BY` flag in configuration. --------- Co-authored-by: silverwind <me@silverwind.io> (cherry picked from commit 609a627a44dbcb7b630ff51ce9f4b9f448b48ca8) Conflicts: - docs/content/administration/config-cheat-sheet.en-us.md - docs/content/administration/config-cheat-sheet.zh-cn.md Removed both, they're Gitea specific. - templates/base/footer_content.tmpl Applied the change manually, keeping the Forgejo footer.
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index d00dc4eb64..304eb3af75 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2331,6 +2331,8 @@ LEVEL = Info
;SHOW_FOOTER_VERSION = true
;; Show template execution time in the footer
;SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
+;; Show the "powered by" text in the footer
+;SHOW_FOOTER_POWERED_BY = true
;; Generate sitemap. Defaults to `true`.
;ENABLE_SITEMAP = true
;; Enable/Disable RSS/Atom feed