Added rel="noopener" to target="_blank" hrefs (#327)

* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
This commit is contained in:
Bwko authored and Lunny Xiao committed 2016-12-02 09:12:16 +08:00
1 parent 1ae6ccb5f1
commit 5ab85372da
36 files changed
+144 -146

No files matched your search

+2 -2
View File
@@ -113,7 +113,7 @@
<i class="octicon octicon-settings"></i>
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
</a>
<a class="item" target="_blank" href="https://gogs.io/docs" rel="noreferrer">
<a class="item" target="_blank" rel="noopener" href="https://docs.gitea.io" rel="noreferrer">
<i class="octicon octicon-question"></i>
{{.i18n.Tr "help"}}<!-- Help -->
</a>
@@ -137,7 +137,7 @@
{{else}}
<a class="item" target="_blank" href="https://gogs.io/docs" rel="noreferrer">{{.i18n.Tr "help"}}</a>
<a class="item" target="_blank" rel="noopener" href="https://docs.gitea.io" rel="noreferrer">{{.i18n.Tr "help"}}</a>
<div class="right menu">
{{if .ShowRegistrationButton}}
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">