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
+4 -2
View File
@@ -251,8 +251,10 @@ homeMap.on('load', function () {
<div class="home-feed-col">
<div class="home-highlights-header">
<h1 class="home-highlights-title">Into the East</h1>
<p class="home-highlights-subtitle">A few moments from past journeys</p>
<h1 class="home-highlights-title">{{ page.title }}</h1>
{% if page.header.subtitle %}
<p class="home-highlights-subtitle">{{ page.header.subtitle }}</p>
{% endif %}
</div>
{% if highlights|length > 0 %}