Skip to content

Commit 8b67db3

Browse files
authoredMay 27, 2022
Added sameAs (mmistakes#3087)
1 parent 2632ff6 commit 8b67db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎_includes/author-profile.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h3 class="author__name p-name" itemprop="name">
3434
{% if author.links %}
3535
{% for link in author.links %}
3636
{% if link.label and link.url %}
37-
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
37+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"{% if link.url contains 'http' %} itemprop="sameAs"{% endif %}><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
3838
{% endif %}
3939
{% endfor %}
4040
{% endif %}
@@ -243,4 +243,4 @@ <h3 class="author__name p-name" itemprop="name">
243243
{% include author-profile-custom-links.html %}
244244
</ul>
245245
</div>
246-
</div>
246+
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.