From 24f3c14d77cd51a62854852988f03bdf0c95a3b9 Mon Sep 17 00:00:00 2001 From: Mischa Date: Fri, 19 Jun 2026 01:54:59 +0200 Subject: [PATCH] feat: add Admin blueprint for trip page type with date range, cover image, and album URL fields --- themes/intotheeast/blueprints/trip.yaml | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 themes/intotheeast/blueprints/trip.yaml diff --git a/themes/intotheeast/blueprints/trip.yaml b/themes/intotheeast/blueprints/trip.yaml new file mode 100644 index 0000000..79eee47 --- /dev/null +++ b/themes/intotheeast/blueprints/trip.yaml @@ -0,0 +1,38 @@ +title: 'Trip' +'@extends': + type: default + context: blueprints://pages + +form: + fields: + tabs: + type: tabs + active: 1 + fields: + trip: + type: tab + title: Trip + fields: + header.date_start: + type: date + label: 'Start Date' + placeholder: '2026-06-17' + help: 'First day of the trip' + + header.date_end: + type: date + label: 'End Date' + placeholder: '' + help: 'Leave blank if trip is ongoing' + + header.cover_image: + type: text + label: 'Cover Image Filename' + placeholder: 'cover.jpg' + help: 'Used in the trips listing page' + + header.album_url: + type: text + label: 'Photo Album URL' + placeholder: 'https://photos.google.com/...' + help: 'Link to external photo album for this trip'