{%- if doc.selector %}

Selectors

{%- for selector in doc.selector.split(',') %} {$ selector $}{% endfor %}
{% endif %}