diff --git a/pages/01.trips/italy-2025/04.stories/02.long-climb-montalcino/story.md b/pages/01.trips/italy-2025/04.stories/02.long-climb-montalcino/story.md index 5d95adc..1bde874 100644 --- a/pages/01.trips/italy-2025/04.stories/02.long-climb-montalcino/story.md +++ b/pages/01.trips/italy-2025/04.stories/02.long-climb-montalcino/story.md @@ -1,14 +1,15 @@ --- -title: The Long Climb to Montalcino +title: 'The Long Climb to Montalcino' date: '2025-09-06 20:00' location_name: Montalcino location_country: Italy lat: 43.058 lng: 11.489 hero_image: hero.jpg -hero_alt: Hairpin road climbing through olive groves towards a hilltop town +hero_alt: 'Hairpin road climbing through olive groves towards a hilltop town' published: true --- + The profile showed fourteen kilometres at an average of six percent. In practice it was steeper at the bottom and gentler at the top, which is the worst possible arrangement. We started climbing at two in the afternoon, which was also the worst possible decision. [scrolly-section image="hero.jpg" alt="Empty road rising steeply through olive groves" caption="SP55 — 14km, 840m elevation gain"] diff --git a/themes/intotheeast/blueprints/story.yaml b/themes/intotheeast/blueprints/story.yaml index 0d25825..770b86b 100644 --- a/themes/intotheeast/blueprints/story.yaml +++ b/themes/intotheeast/blueprints/story.yaml @@ -27,7 +27,7 @@ form: header.end_date: type: datetime label: End Date - format: 'Y-m-d' + format: 'Y-m-d H:i' help: 'Optional — leave blank for a single-day story' header.hero_image: diff --git a/themes/intotheeast/templates/story.html.twig b/themes/intotheeast/templates/story.html.twig index 2a94d1b..09122b8 100644 --- a/themes/intotheeast/templates/story.html.twig +++ b/themes/intotheeast/templates/story.html.twig @@ -12,7 +12,7 @@ {% endif %} {% set date_str = page.date|date('d M Y') %} -{% if page.header.end_date and page.header.end_date != page.date|date('Y-m-d') %} +{% if page.header.end_date and page.header.end_date|date('Y-m-d') != page.date|date('Y-m-d') %} {% set sd = page.date|date('d') %} {% set sm = page.date|date('M') %} {% set sy = page.date|date('Y') %}