Browse Source

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 6 năm trước cách đây
mục cha
commit
81effe674d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>