{# Calendar entries nav items — loaded via widget registry #} {% set entry_list = ctx.entries if ctx.entries is defined else [] %} {% set current_page = ctx.page if ctx.page is defined else 1 %} {% set has_more_entries = ctx.has_more if ctx.has_more is defined else False %} {% for entry in entry_list %} {% set _entry_path = '/' + post.slug + '/calendars/' + entry.calendar_slug + '/' + entry.start_at.year|string + '/' + entry.start_at.month|string + '/' + entry.start_at.day|string + '/entries/' + entry.id|string + '/' %} {% if post.feature_image %} {{ post.title }} {% else %}
{% endif %}
{{ entry.name }}
{{ entry.start_at.strftime('%b %d, %Y at %H:%M') }} {% if entry.end_at %} – {{ entry.end_at.strftime('%H:%M') }}{% endif %}
{% endfor %} {# Load more entries one at a time until container is full #} {% if has_more_entries %}
{% endif %}