{% macro share_links(article) %}
{% from '_includes/_defaults.html' import SHARE_LINKS with context %}
{% if article.share_post and article.status != 'draft' and SHARE_LINKS %}
{% if article.share_post_intro %}
{{ article.share_post_intro }}
{% else %}
{% from '_includes/_defaults.html' import SHARE_POST_INTRO with context %}
{{ SHARE_POST_INTRO }}
{% endif %}
{% for network, label in SHARE_LINKS %}
{% if not loop.first %} ❄ {% endif %}
{{ label }}
{% endfor %}
{% endif %}
{% endmacro %}