diff options
author | Federico Culloca <federicoculloca@users.noreply.github.com> | 2018-11-13 02:49:30 +0100 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2018-11-12 20:49:30 -0500 |
commit | 81effe674dfe5d0bfd242112ffa61051a20580e8 (patch) | |
tree | e74d03086bfc64a51ce2613b44dbf3bc0769358a | |
parent | 831251bcaa58f9e412cdb14ec495d6f6824ffaef (diff) |
templates/user/profile: added rel="me" to website link on user profile (#5485)
* Added rel="me" to website link on user profile
See issue #5008
* Added `nofollow` as per feedback
-rw-r--r-- | templates/user/profile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 643594b8..d60fce56 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" rel="noopener noreferrer" href="{{.Owner.Website}}">{{.Owner.Website}}</a> + <a target="_blank" rel="noopener noreferrer me nofollow" href="{{.Owner.Website}}">{{.Owner.Website}}</a> </li> {{end}} <li><i class="octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li> |