Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Mar 14 15:00:00 2021 +0100

    feat: add variable gitea_extra_links to customize nav bar

    BREAKING CHANGE: The variable `gitea_footer_custom_links` was renamed to `gitea_extra_links_footer`.
This commit is contained in:
Robert Kaussow 2021-03-14 14:09:00 +00:00
parent 683a5d6070
commit 7aaef90ef2
1 changed files with 13 additions and 4 deletions

View File

@ -37,7 +37,8 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
* [gitea_default_org_visible](#gitea_default_org_visible)
* [gitea_default_timetracking_enabled](#gitea_default_timetracking_enabled)
* [gitea_extra_groups](#gitea_extra_groups)
* [gitea_footer_custom_links](#gitea_footer_custom_links)
* [gitea_extra_links](#gitea_extra_links)
* [gitea_extra_links_footer](#gitea_extra_links_footer)
* [gitea_footer_show_branding](#gitea_footer_show_branding)
* [gitea_footer_show_template_load_time](#gitea_footer_show_template_load_time)
* [gitea_footer_show_version](#gitea_footer_show_version)
@ -379,20 +380,28 @@ gitea_default_timetracking_enabled: true
gitea_extra_groups: []
```
### gitea_footer_custom_links
### gitea_extra_links
#### Default value
```YAML
gitea_extra_links: []
```
### gitea_extra_links_footer
Add custom links e.g. legal notice to gitea footer.
#### Default value
```YAML
gitea_footer_custom_links: []
gitea_extra_links_footer: []
```
#### Example usage
```YAML
gitea_footer_custom_links:
gitea_extra_links_footer:
- name: Legal Notice
href: https://example.com/legal_notice
```