This commit is contained in:
2022-12-15 10:42:46 +01:00
parent 3bf8767a45
commit aac413fa32
3 changed files with 25 additions and 25 deletions

View File

@ -72,7 +72,7 @@
{{ if $data.homepage.about.enable }}
{{ with $data.homepage.about }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row align-items-center">
<div class="col-md-9 order-2 order-md-1">
@ -87,7 +87,7 @@
{{ end }}
</div>
{{ with .image }}
<div class="col-md-3 order-1 order-md-2 mb-4 mb-md-0">
<div class="col-md-3 order-1 order-md-2 mb-md-0">
<img class="img-fluid w-100" src="{{ . | absURL }}" alt="about image">
</div>
{{ end }}
@ -97,6 +97,25 @@
{{ end }}
{{ end }}
{{ if $data.homepage.blog.enable }}
<section class="mb-4">
<div class="container">
<div class="row">
<div class="col-12">
<h2 class="section-title">{{ $data.homepage.blog.title }}</h2>
</div>
</div>
<div class="row justify-content-center">
{{ range first 3 (where .Site.RegularPages "Type" "post")}}
<article class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
{{ .Render "post" }}
</article>
{{ end }}
</div>
</div>
</section>
{{ end }}
{{ if $data.homepage.success_banner.enable }}
{{ with $data.homepage.success_banner }}
<section class="section bg-cover" data-background="{{ .image | absURL }}" id="success">
@ -220,25 +239,6 @@
</section>
{{ end }}
{{ if $data.homepage.blog.enable }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<h2 class="section-title">{{ $data.homepage.blog.title }}</h2>
</div>
</div>
<div class="row justify-content-center">
{{ range first 3 (where .Site.RegularPages "Type" "post")}}
<article class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
{{ .Render "post" }}
</article>
{{ end }}
</div>
</div>
</section>
{{ end }}
{{ if $data.homepage.digitalpakt.enable }}
{{ with $data.homepage.digitalpakt }}
<section class="section bg-footer">