feat: add blueprints for active_trip/travelling config, tagline, featured fields

This commit is contained in:
2026-06-21 01:36:00 +02:00
parent 5a6c00eaa4
commit cf364bc298
7 changed files with 83 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
form:
validation: loose
fields:
active_trip:
type: pages
label: Active Trip
start_route: '/trips'
show_root: false
show_slug: true
travelling:
type: toggle
label: Currently Travelling
highlight: 1
default: false
options:
1: 'Yes'
0: 'No'
validate:
type: bool
+2 -1
View File
@@ -6,4 +6,5 @@ author:
taxonomies: [category, tag]
metadata:
description: 'Into the East — travel journal'
active_trip: italy-2026-demo
active_trip: /trips/italy-2026-demo
travelling: true
@@ -8,6 +8,7 @@ lng: 11.676
hero_image: hero.jpg
hero_alt: Wide Tuscan valley at dawn, long cypress shadows across pale gravel road
published: true
featured: true
---
We left before the heat arrived. The alarm was five-thirty and the sky outside the tent was still more grey than blue. The valley was invisible in the dark except as an absence — a vast silence below us where the shapes of hills ought to be. By six the light had changed. The Val d'Orcia is one of those landscapes that photographers wait years to shoot at this hour, and you can see why: the light arrives at an angle that makes everything look like something from a different century.
@@ -0,0 +1,30 @@
---
title: "Val d'Orcia at Dawn"
date: '2026-09-05'
location_name: Val d'Orcia
location_country: Italy
lat: 43.078
lng: 11.676
hero_image: hero.jpg
hero_alt: Wide Tuscan valley at dawn, long cypress shadows across pale gravel road
published: true
featured: true
---
We left before the heat arrived. The alarm was five-thirty and the sky outside the tent was still more grey than blue. The valley was invisible in the dark except as an absence — a vast silence below us where the shapes of hills ought to be. By six the light had changed. The Val d'Orcia is one of those landscapes that photographers wait years to shoot at this hour, and you can see why: the light arrives at an angle that makes everything look like something from a different century.
[snap-gallery images="hero.jpg,photo-1.jpg,photo-2.jpg" captions="Six in the morning: the valley belongs entirely to the light,The Cypress Road — every photograph of Tuscany was taken here or somewhere like it,A farmhouse that has been sitting on this hill for four hundred years" alts="Wide misty Tuscan valley at dawn with long shadows,Straight road lined by tall cypress trees in morning light,Stone farmhouse on a hilltop with rolling landscape behind" /]
The roads down here are white gravel — strade bianche — and the tyres make a particular sound on them that you don't get anywhere else. We rode for two hours without seeing a car. The only other people were two elderly men walking a dog in the opposite direction. They waved.
[chapter-break image="photo-1.jpg" title="The Hour Before Heat" alt="Cypress road vanishing into a hazy summer morning" /]
By nine the temperature had already shifted. The quality of the light changed — softer, more diffuse, the sky turning white at the edges. The windows of the farmhouses began to open. Dogs that had been invisible in the dark became visible on walls and in doorways, watching us with professional detachment.
[snap-gallery images="photo-2.jpg,hero.jpg" captions="The road changes from asphalt to gravel to packed earth and back again without warning,The valley floor at nine: the shadows have shortened, the colours have flattened" alts="Farmhouse detail with terracotta roof and single cypress tree,Tuscan valley road in mid-morning haze" /]
[pull-quote]
The best hours of a cycling day are the ones nobody else sees. Before the heat arrives, before the cafes open, before the traffic comes. Everything belongs to you then.
[/pull-quote]
We reached Pienza at eleven-thirty. The ice-cream queue was eight deep and entirely justified.
+12
View File
@@ -86,3 +86,15 @@ form:
0: 'No'
validate:
type: bool
header.featured:
type: toggle
label: Featured highlight
help: 'Show as a homepage highlight when not travelling'
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
+12
View File
@@ -111,3 +111,15 @@ form:
0: 'No'
validate:
type: bool
header.featured:
type: toggle
label: Featured highlight
help: 'Show as a homepage highlight when not travelling'
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
+6
View File
@@ -49,6 +49,12 @@ form:
placeholder: 'https://photos.google.com/...'
help: 'Link to external photo album for this trip'
header.tagline:
type: text
label: Tagline
placeholder: '6 weeks from Venice to Sicily by train'
help: 'Short description shown on homepage highlight cards'
publishing:
type: tab
title: Publishing