Added sameAs (#3087)

This commit is contained in:
Lars Olesen 2022-05-27 15:49:00 +02:00 committed by GitHub
parent 2632ff650a
commit 8b67db3ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@
{% if author.links %} {% if author.links %}
{% for link in author.links %} {% for link in author.links %}
{% if link.label and link.url %} {% if link.label and link.url %}
<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> <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>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
@ -243,4 +243,4 @@
{% include author-profile-custom-links.html %} {% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>