{% if config.extra.social %}
    {% set ns = namespace() %}
    {% for social in config.extra.social %}
      {% set title = social.name %}
      {% if not title and "//" in social.link %}
        {% set _,url = social.link.split("//") %}
        {% set title = url.split("/")[0] %}
      {% endif %}
      {% if ns.line_break is defined %}
        {{ ns.line_break }}
      {% endif %}
      <a href="{{ social.link }}" target="_blank" rel="noopener" title="{{ title | e }}" class="twemoji">
          {% include ".icons/" ~ social.icon ~ ".svg" %}
      </a>
      {% set ns.line_break = " · " %}
    {% endfor %}
{% endif %}