fix logo
This commit is contained in:
parent
fbc231d653
commit
5c1ddeac19
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user