Skip to content

Commit 9d6614e

Browse files
committed
Refactor setting.Other
Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING as announced in https://github.com/go-gitea/gitea/releases/tag/v1.20.0
1 parent 5022106 commit 9d6614e

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ Either you define exactly which release you install. Or you use the option ``lat
313313
### Other ([other](https://docs.gitea.io/en-us/config-cheat-sheet/#other-other))
314314
| variable name | default value | description |
315315
| ------------- | ------------- | ----------- |
316-
| `gitea_other_show_footer_branding` | `false` | Show Gitea branding in the footer. |
317316
| `gitea_other_show_footer_version` | `true` | Show Gitea and Go version information in the footer. |
318317
| `gitea_other_show_footer_template_load_time` | `true` | Show time of template execution in the footer. |
319318
| `gitea_other_enable_sitemap` | `true` | Generate sitemap. |

defaults/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ gitea_actions_extra: ''
242242

243243
# Other (other)
244244
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other
245-
gitea_other_show_footer_branding: false
246245
gitea_other_show_footer_version: true
247246
gitea_other_show_footer_template_load_time: true
248247
gitea_other_enable_sitemap: true

templates/gitea.ini.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ DEFAULT_ACTIONS_URL = {{ gitea_actions_default_actions_url }}
288288
; Other (other)
289289
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other
290290
[other]
291-
SHOW_FOOTER_BRANDING = {{ gitea_other_show_footer_branding | ternary('true', 'false') }}
292291
SHOW_FOOTER_VERSION = {{ gitea_other_show_footer_version | ternary('true', 'false') }}
293292
SHOW_FOOTER_TEMPLATE_LOAD_TIME = {{ gitea_other_show_footer_template_load_time | ternary('true', 'false') }}
294293
ENABLE_SITEMAP = {{ gitea_other_enable_sitemap | ternary('true', 'false') }}

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ transfer_custom_footer:
6262
- 'files/gitea_footer/extra_links_footer.tmpl'
6363
- 'files/extra_links_footer.tmpl'
6464

65-
playbook_version_number: 48 # should be int
65+
playbook_version_number: 49 # should be int
6666
playbook_version_path: 'do1jlr.gitea.version'

0 commit comments

Comments
 (0)