Explorar o código

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
Federico Culloca %!s(int64=6) %!d(string=hai) anos
pai
achega
81effe674d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/user/profile.tmpl

+ 1 - 1
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>