summaryrefslogtreecommitdiffstats
path: root/templates/base/footer.tmpl
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2016-12-02 02:12:16 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2016-12-02 09:12:16 +0800
commit5ab85372da74bd95f7143fd59c2c600d4c9894d0 (patch)
treeed69c018ea3ee015a6854ed47f6e1d2f3ec32c99 /templates/base/footer.tmpl
parent1ae6ccb5f1e8c6c2c0188e81de91ec50761bf436 (diff)
downloadgitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.tar.gz
gitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.zip
Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
Diffstat (limited to 'templates/base/footer.tmpl')
-rw-r--r--templates/base/footer.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index f374b4f854..a1f085a0a8 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -11,9 +11,7 @@
</div>
<div class="ui right links">
{{if .ShowFooterBranding}}
- <a target="_blank" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
- <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
- <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
+ <a target="_blank" rel="noopener" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
{{end}}
<div class="ui language bottom floating slide up dropdown link item">
<i class="world icon"></i>
@@ -24,7 +22,7 @@
{{end}}
</div>
</div>
- <a target="_blank" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
+ <a target="_blank" rel="noopener" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
</div>
</div>