diff options
author | PENĀ² <xinyu@nerv.org.cn> | 2022-08-13 09:34:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 20:34:53 -0500 |
commit | bbce94ee9131d5c6861dc343800469f7b0689d8b (patch) | |
tree | 45b0420e06b3d4c73a8907e2249890cfe1e734ac | |
parent | 20b3a904504d401cfc192b80440d76d787af94d9 (diff) | |
download | gitea-bbce94ee9131d5c6861dc343800469f7b0689d8b.tar.gz gitea-bbce94ee9131d5c6861dc343800469f7b0689d8b.zip |
Move the official website link at the footer of gitea (#20777)
-rw-r--r-- | templates/base/footer_content.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index dfc0646610..88dec014f6 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -1,7 +1,7 @@ <footer> <div class="ui container"> <div class="ui left"> - {{.locale.Tr "powered_by" "Gitea"}} + <a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.locale.Tr "powered_by" "Gitea"}}</a> {{if (or .ShowFooterVersion .PageIsAdmin)}} {{.locale.Tr "version"}}: {{if .IsAdmin}} @@ -31,7 +31,6 @@ </div> <a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a> {{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}} - <a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.locale.Tr "website"}}</a> {{template "custom/extra_links_footer" .}} </div> </div> |