Merge intro+heading into section text fields on galerie and gallery-1
This commit is contained in:
@@ -41,15 +41,12 @@
|
||||
</div>
|
||||
<div class="col-12 col-md-6 p-3 text-start content-text order-2 order-md-1">
|
||||
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
|
||||
{% if page.header.intro %}{{ page.header.intro|markdown }}{% endif %}
|
||||
{% if page.header.section1_heading %}<h2 class="funky-font">{{ page.header.section1_heading }}</h2>{% endif %}
|
||||
{{ page.header.section1_text|markdown }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 mt-2">
|
||||
<div class="col-12 col-md-6 p-3 text-start content-text order-2">
|
||||
{% if page.header.section2_heading %}<h2 class="funky-font">{{ page.header.section2_heading }}</h2>{% endif %}
|
||||
{{ page.header.section2_text|markdown }}
|
||||
<div class="d-flex flex-column flex-sm-row gap-2 mt-3">
|
||||
<a href="{{ url('/werk-in-detail') }}" class="btn btn-brand">{{ is_en ? 'View work in detail' : 'Bekijk werk in detail' }}</a>
|
||||
|
||||
@@ -44,15 +44,12 @@
|
||||
</div>
|
||||
<div class="col-12 col-md-6 p-3 text-start content-text order-2 order-md-1">
|
||||
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
|
||||
{% if page.header.intro %}{{ page.header.intro|markdown }}{% endif %}
|
||||
{% if page.header.section1_heading %}<h2 class="funky-font">{{ page.header.section1_heading }}</h2>{% endif %}
|
||||
{{ page.header.section1_text|markdown }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 mt-2">
|
||||
<div class="col-12 col-md-6 p-3 text-start content-text order-2">
|
||||
{% if page.header.section2_heading %}<h2 class="funky-font">{{ page.header.section2_heading }}</h2>{% endif %}
|
||||
{{ page.header.section2_text|markdown }}
|
||||
<div class="d-flex flex-column flex-sm-row gap-2 mt-3">
|
||||
<a href="{{ url('/werk-in-detail') }}" class="btn btn-brand">Bekijk werk in detail</a>
|
||||
|
||||
Reference in New Issue
Block a user