{% import 'macros/stats.html.twig' as stats_m %} {% import 'macros/cycling.html.twig' as cycling_m %} {% import 'macros/cover.html.twig' as cover %} {# trip_header_extras: gated one-liner + description + banner for the trip-page caller only. Home's active-trip include omits it (`only`), so it defaults off and that header renders exactly as before (KTD4 / R12). #} {% set trip_header_extras = trip_header_extras|default(false) %}
{{ trip_page.header.tagline }}
{% endif %} {% if trip_page.header.date_start %}{{ trip_page.header.date_start|date('d M Y') }} {% if trip_page.header.date_end %} — {{ trip_page.header.date_end|date('d M Y') }}{% else %} — Ongoing{% endif %}
{% endif %} {{ journal_count }} journal {{ journal_count == 1 ? 'entry' : 'entries' }} {% if story_count > 0 %} · {{ story_count }} {{ story_count == 1 ? 'story' : 'stories' }}{% endif %} {% if trip_header_extras and trip_page.content|striptags|trim %}No entries yet. The journey is about to begin.
{% endif %}