summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2020-01-04 01:41:56 +0700
committerLauris BH <lauris@nix.lv>2020-01-03 20:41:56 +0200
commit34c5eee703e8904f9eae662bc774ef0b26656799 (patch)
tree5df64b13e49cb181b23a68de29fdf54137154e5b /templates/base
parentea707f5a77d83d023cb02ce8e44c4b95ac83ef30 (diff)
downloadgitea-34c5eee703e8904f9eae662bc774ef0b26656799.tar.gz
gitea-34c5eee703e8904f9eae662bc774ef0b26656799.zip
Add footer extra links template (#9576)
* Add footer extra links template * [Docs] Update to mention extra links footer template * Commit suggestion from @davidsvantesson Co-Authored-By: David Svantesson <davidsvantesson@gmail.com> * Move template placement to right side of footer Co-authored-by: David Svantesson <davidsvantesson@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer_content.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index 364e58a3d0..085e7207df 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -19,6 +19,7 @@
<a href="{{StaticUrlPrefix}}/vendor/librejs.html" data-jslicense="1">JavaScript licenses</a>
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
<a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
+ {{template "custom/extra_links_footer" .}}
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
</div>
</div>