This commit is contained in:
Denys Konovalov 2022-10-19 15:54:10 +02:00
parent 9c1dcdbee9
commit 45c345c495
7 changed files with 19 additions and 1 deletions

@ -3,7 +3,7 @@ title: Keramik
date: 2022-10-15T16:21:22.895Z date: 2022-10-15T16:21:22.895Z
draft: "false" draft: "false"
bg_image: /media/backgrounds/page-title.png bg_image: /media/backgrounds/page-title.png
image: /media/ganztagsangebote/image.png image: /media/ganztagsangebote/keramik.jpg
categories_ag: categories_ag:
- Kunst - Kunst
duration: 2. Stunden duration: 2. Stunden

@ -26,6 +26,23 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
<section class="bg-white">
<div class="container">
<div class="row align-items-center">
{{- $files := readDir "/static/media/logos/start" }}
{{- range $files -}}
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl|svg)" }}<!-- is the current file an image? -->
{{- if $isimg }}
{{- $linkURL := print "/media/logos/start" "/" .Name | absURL }}<!-- relative URL -->
<div class="col-md-3 order-1 order-md-2 mb-4 mt-4">
<img class="img-fluid w-100" src="{{ $linkURL }}" alt="about image">
</div>
{{- end }}
{{- end }}
</div>
</div>
</section>
{{ if $data.homepage.about.enable }} {{ if $data.homepage.about.enable }}
{{ with $data.homepage.about }} {{ with $data.homepage.about }}
<section class="section"> <section class="section">

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB