Add rel attribute to social media links in author profile and fotter (#1924)

This commit is contained in:
Alex Malaszkiewicz
2018-11-13 15:37:14 +01:00
committed by Michael Rose
parent 85237fda1e
commit d786c190c7
3 changed files with 26 additions and 26 deletions

View File

@@ -7,7 +7,7 @@
{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
{% endif %}
{% endfor %}
{% endif %}