{% assign any-share-links = false %} {% for links in site.share-links-active %} {% if links[1] == true %} {% assign any-share-links = true %} {% endif %} {% endfor %} {% if any-share-links %}
Share: {% if site.share-links-active.twitter %} X (Twitter) {% endif %} {% if site.share-links-active.facebook %} Facebook {% endif %} {% if site.share-links-active.linkedin %} LinkedIn {% endif %} {% if site.share-links-active.vk %} VK {% endif %} {% if site.share-links-active.reddit %} Reddit {% endif %}
{% endif %}