+ {% set entry_href = day_href ~ 'entries/' ~ entry.id ~ '/' %}
+
+
{# Ticket widget below card #}
{% if entry.ticket_price is not none %}
diff --git a/templates/_types/page_summary/_cards.html b/templates/_types/page_summary/_cards.html
index b6958ab..a197731 100644
--- a/templates/_types/page_summary/_cards.html
+++ b/templates/_types/page_summary/_cards.html
@@ -5,10 +5,13 @@
{# Date header when date changes (list view only) #}
{% set entry_date = entry.start_at.strftime('%A %-d %B %Y') %}
{% if loop.first or entry_date != entries[loop.index0 - 1].start_at.strftime('%A %-d %B %Y') %}
+ {% set date_href = events_url('/' ~ post.slug ~ '/calendars/' ~ entry.calendar_slug ~ '/day/' ~ entry.start_at.strftime('%Y/%-m/%-d') ~ '/') %}
{{ entry.name }}
+ - {% if entry.calendar_name %} - - {{ entry.calendar_name }} - - {% endif %} + {% if entry.calendar_name %} + + {{ entry.calendar_name }} + + {% endif %} -
- {{ entry.start_at.strftime('%a %-d %b') }}
- ·
- {{ entry.start_at.strftime('%H:%M') }}{% if entry.end_at %} – {{ entry.end_at.strftime('%H:%M') }}{% endif %}
-
-
- {% if entry.cost %}
-
- £{{ '%.2f'|format(entry.cost) }}
-
- {% endif %}
+
+ {{ entry.start_at.strftime('%a %-d %b') }}
+ ·
+ {{ entry.start_at.strftime('%H:%M') }}{% if entry.end_at %} – {{ entry.end_at.strftime('%H:%M') }}{% endif %}
-
+
+ {% if entry.cost %}
+
+ £{{ '%.2f'|format(entry.cost) }}
+
+ {% endif %}
+
-
{% endif %}
{% include "_types/page_summary/_card.html" %}