Move the official website link at the footer of gitea (#20777)

This commit is contained in:
PEN² 2022-08-13 09:34:53 +08:00 committed by GitHub
parent 20b3a90450
commit bbce94ee91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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>