From 7aaef90ef2c9667f111a15470d343485e36600f3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 14 Mar 2021 14:09:00 +0000 Subject: [PATCH] commit b3b77eca5d658b9a77c847efe200273eb40d30c9 Author: Robert Kaussow 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`. --- index.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/index.md b/index.md index 8761bad..49e4ce8 100644 --- a/index.md +++ b/index.md @@ -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 ```