Explorar el Código

added rel=me to website link on user profile

Yoginth hace 7 años
padre
commit
8d89240132
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      templates/user/profile.tmpl

+ 2 - 2
templates/user/profile.tmpl

@@ -43,7 +43,7 @@
 			{{if .Owner.Website}}
 				<br/>
 				<i class="menu-icon octicon">🔗</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>
 			{{end}}
 			<br/>
 			<i class="menu-icon octicon">🕒</i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}
@@ -144,7 +144,7 @@
 							{{if .Owner.Website}}
 								<li>
 									<i class="menu-icon octicon">🔗</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="menu-icon octicon">🕒</i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li>