feat: use page content field for home page description instead of subtitle header
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user