summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorAlberto González Palomo <bugs@sentido-labs.com>2018-01-10 07:19:50 +0100
committerLauris BH <lauris@nix.lv>2018-01-10 08:19:50 +0200
commit45c264f681e3f7e1a22a191029836a690959aac3 (patch)
treedb85d9352b85d7e2df33f3bebe782212f9a1f888 /templates/base
parent88a3bb6d42536d0458b48269b26d821d59055fe2 (diff)
downloadgitea-45c264f681e3f7e1a22a191029836a690959aac3.tar.gz
gitea-45c264f681e3f7e1a22a191029836a690959aac3.zip
Templates for extra links in top navbar and repo tool tabs. (#3308)
These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 04c5a43e4c..a486d9b9b9 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -158,6 +158,9 @@
{{end}}
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
+
+ {{template "custom/extra_links" .}}
+
{{/*
<div class="item">
<div class="ui icon input">