feat: use page content field for home page description instead of subtitle header

This commit is contained in:
2026-06-21 10:49:54 +02:00
parent ff9ea3a0a7
commit 3018ae16ff
3 changed files with 8 additions and 8 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
---
title: Into the East
subtitle: 'A few moments from past journeys'
visible: false
routable: true
---
A few moments from past journeys.
+4 -5
View File
@@ -17,8 +17,7 @@ form:
validate:
required: true
header.subtitle:
type: text
label: Subtitle
placeholder: 'A few moments from past journeys'
help: 'Short line shown below the title in between-trips mode'
content:
type: markdown
label: Content
help: 'Shown below the title in between-trips mode'
+2 -2
View File
@@ -252,8 +252,8 @@ homeMap.on('load', function () {
<div class="home-feed-col">
<div class="home-highlights-header">
<h1 class="home-highlights-title">{{ page.title }}</h1>
{% if page.header.subtitle %}
<p class="home-highlights-subtitle">{{ page.header.subtitle }}</p>
{% if page.content %}
<div class="home-highlights-subtitle">{{ page.content|raw }}</div>
{% endif %}
</div>