diff options
author | Jorge Maldonado Ventura <jorgesumle@freakspot.net> | 2017-09-20 06:20:11 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-09-20 07:20:11 +0300 |
commit | 8b6236d67b21f2a3291207ef77d103a3ce7476ba (patch) | |
tree | 1c06fb565d461aea0a511bc116ec9c828ef36d93 /templates | |
parent | acecedc410537667be33df4546e3004d7ddc825f (diff) | |
download | gitea-8b6236d67b21f2a3291207ef77d103a3ce7476ba.tar.gz gitea-8b6236d67b21f2a3291207ef77d103a3ce7476ba.zip |
Fix duplicated rel attribute (#2549)
According to the HTML 5.1 recommendation "The rel attribute on a
and area elements controls what kinds of links the elements create.
The attribute’s value must be a set of space-separated tokens."
(source https://www.w3.org/TR/html51/links.html#links-created-by-a-and-area-elements)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 23292cdbcd..cd4533f414 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -210,7 +210,7 @@ <i class="octicon octicon-settings"></i> {{.i18n.Tr "your_settings"}}<!-- Your settings --> </a> - <a class="item" target="_blank" rel="noopener" href="https://docs.gitea.io" rel="noreferrer"> + <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io"> <i class="octicon octicon-question"></i> {{.i18n.Tr "help"}}<!-- Help --> </a> @@ -234,7 +234,7 @@ {{else}} - <a class="item" target="_blank" rel="noopener" href="https://docs.gitea.io" rel="noreferrer">{{.i18n.Tr "help"}}</a> + <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.i18n.Tr "help"}}</a> <div class="right menu"> {{if .ShowRegistrationButton}} <a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up"> |