{% for social in config.extra.social %} {% set rel = "noopener" %} {% if "mastodon" in social.icon %} {% set rel = rel ~ " me" %} {% endif %} {% set title = social.name %} {% if not title and "//" in social.link %} {% set _, url = social.link.split("//") %} {% set title = url.split("/")[0] %} {% endif %} {% include ".icons/" ~ social.icon ~ ".svg" %} {% endfor %}