1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

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
This commit is contained in:
L3D 2023-07-19 10:49:22 +02:00
parent 502210624d
commit 9d6614e7d1
4 changed files with 1 additions and 4 deletions

View file

@ -313,7 +313,6 @@ Either you define exactly which release you install. Or you use the option ``lat
### Other ([other](https://docs.gitea.io/en-us/config-cheat-sheet/#other-other))
| variable name | default value | description |
| ------------- | ------------- | ----------- |
| `gitea_other_show_footer_branding` | `false` | Show Gitea branding in the footer. |
| `gitea_other_show_footer_version` | `true` | Show Gitea and Go version information in the footer. |
| `gitea_other_show_footer_template_load_time` | `true` | Show time of template execution in the footer. |
| `gitea_other_enable_sitemap` | `true` | Generate sitemap. |

View file

@ -242,7 +242,6 @@ gitea_actions_extra: ''
# Other (other)
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other
gitea_other_show_footer_branding: false
gitea_other_show_footer_version: true
gitea_other_show_footer_template_load_time: true
gitea_other_enable_sitemap: true

View file

@ -288,7 +288,6 @@ DEFAULT_ACTIONS_URL = {{ gitea_actions_default_actions_url }}
; Other (other)
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other
[other]
SHOW_FOOTER_BRANDING = {{ gitea_other_show_footer_branding | ternary('true', 'false') }}
SHOW_FOOTER_VERSION = {{ gitea_other_show_footer_version | ternary('true', 'false') }}
SHOW_FOOTER_TEMPLATE_LOAD_TIME = {{ gitea_other_show_footer_template_load_time | ternary('true', 'false') }}
ENABLE_SITEMAP = {{ gitea_other_enable_sitemap | ternary('true', 'false') }}

View file

@ -62,5 +62,5 @@ transfer_custom_footer:
- 'files/gitea_footer/extra_links_footer.tmpl'
- 'files/extra_links_footer.tmpl'
playbook_version_number: 48 # should be int
playbook_version_number: 49 # should be int
playbook_version_path: 'do1jlr.gitea.version'