feat: pull home page title/subtitle from page content instead of hardcoding

This commit is contained in:
2026-06-21 10:43:50 +02:00
parent 6eaa00d612
commit 913e4bf19a
3 changed files with 43 additions and 3 deletions
+37
View File
@@ -0,0 +1,37 @@
title: Home Page
form:
validation: loose
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Content
fields:
title:
type: text
label: Title
header.subtitle:
type: text
label: Subtitle
placeholder: 'A few moments from past journeys'
help: 'Short line shown below the title in between-trips mode'
publishing:
type: tab
title: Publishing
fields:
header.visible:
type: toggle
label: Visible in nav
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool