Update: Home added 'about' and 'mogelijkheden'
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
<div class="col-lg-7 ps-lg-5">
|
||||
{{ with .Params.info_section.eyebrow }}
|
||||
<span class="h6 tracking-widest text-secondary mb-3 d-block">
|
||||
<span class="h6 text-primary mb-3 d-block">
|
||||
{{ . }}
|
||||
</span>
|
||||
{{ end }}
|
||||
@@ -50,4 +50,44 @@
|
||||
{{ partial "modellen.html" . }}
|
||||
{{ partial "mogelijkheden.html" . }}
|
||||
{{ partial "map.html" . }}
|
||||
|
||||
{{ if .Params.about_section }}
|
||||
<section class="info-section py-5 my-lg-5">
|
||||
<div class="container">
|
||||
<div class="row align-items-center g-5">
|
||||
|
||||
<div class="col-lg-5 pe-lg-5">
|
||||
<div class="info-image-wrapper">
|
||||
{{ with .Params.about_section.image }}
|
||||
<img src="{{ . | relURL }}"
|
||||
alt="{{ $.Params.info_section.image_alt | default "Van Emous Mantelzorgwoningen" }}"
|
||||
class="img-fluid rounded-img shadow fade-left">
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-7 ps-lg-5">
|
||||
{{ with .Params.about_section.eyebrow }}
|
||||
<span class="h6 text-primary mb-3 d-block">
|
||||
{{ . }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
<h2 class="display-5 mb-4">
|
||||
{{ .Params.about_section.title }}
|
||||
</h2>
|
||||
|
||||
<div class="info-content">
|
||||
{{ range .Params.about_section.text_paragraphs }}
|
||||
<p class="lead-text mb-4 text-muted">
|
||||
{{ . | markdownify }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user