2019-09-28 20:42:54 +03:00
|
|
|
{#-
|
|
|
|
This file was automatically generated - do not edit
|
|
|
|
-#}
|
2021-11-13 15:41:07 +03:00
|
|
|
<div class="md-social">
|
2021-11-13 15:08:22 +03:00
|
|
|
{% for social in config.extra.social %}
|
2023-02-03 19:33:28 +03:00
|
|
|
{% set rel = "noopener" %}
|
|
|
|
{% if "mastodon" in social.icon %}
|
|
|
|
{% set rel = rel ~ " me" %}
|
|
|
|
{% endif %}
|
2021-11-13 15:08:22 +03:00
|
|
|
{% set title = social.name %}
|
|
|
|
{% if not title and "//" in social.link %}
|
|
|
|
{% set _, url = social.link.split("//") %}
|
|
|
|
{% set title = url.split("/")[0] %}
|
|
|
|
{% endif %}
|
2023-02-03 19:33:28 +03:00
|
|
|
<a href="{{ social.link }}" target="_blank" rel="{{ rel }}" title="{{ title | e }}" class="md-social__link">
|
2021-11-13 15:08:22 +03:00
|
|
|
{% include ".icons/" ~ social.icon ~ ".svg" %}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|