summaryrefslogtreecommitdiffstats
path: root/templates/user/profile.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/user/profile.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/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 59989f3830..7734d94c99 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -31,7 +31,7 @@
{{if .Owner.Website}}
<li>
<i class="octicon octicon-link"></i>
- <a target="_blank" href="{{.Owner.Website}}">{{.Owner.Website}}</a>
+ <a target="_blank" rel="noopener" href="{{.Owner.Website}}">{{.Owner.Website}}</a>
</li>
{{end}}
<li><i class="octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li>