66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
title: 'Trip'
|
|
|
|
form:
|
|
fields:
|
|
tabs:
|
|
type: tabs
|
|
active: 1
|
|
fields:
|
|
|
|
content:
|
|
type: tab
|
|
title: Content
|
|
fields:
|
|
header.title:
|
|
type: text
|
|
label: Title
|
|
validate:
|
|
required: true
|
|
|
|
content:
|
|
type: markdown
|
|
label: Description
|
|
|
|
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'
|
|
|
|
publishing:
|
|
type: tab
|
|
title: Publishing
|
|
fields:
|
|
header.published:
|
|
type: toggle
|
|
label: Published
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: 'Yes'
|
|
0: 'No'
|
|
validate:
|
|
type: bool
|