{##}
{% if welcomeText %}
{{ welcomeText|raw }}
{% endif %}
{% for category in categories %}
{% set viewable = category.viewable == 'Y' %}
{% set hasBackground = category.viewableDate is not empty and category.backgroundImage is not empty %}
{% if hasBackground %}
{% else %}
{% endif %}
{{ category.name }}
{% for date in category.eventDates|split(',') %}
{{- formatUsing('dateReadable', date, 102) -}}
{{- not loop.last ? ', ' -}}
{% endfor %}