2023-07-24 12:02:51 +02:00
|
|
|
<section class="section superhaufen">
|
|
|
|
<div class="container">
|
2023-07-31 20:54:52 +02:00
|
|
|
<div class="content text-justify">
|
|
|
|
{{ .Content }}
|
2023-07-24 12:02:51 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
2024-09-16 21:34:24 +02:00
|
|
|
{{ partial "filter-controls" . }}
|
2024-09-16 21:47:03 +02:00
|
|
|
<div class="filter-container row justify-content-center">
|
2023-07-24 12:02:51 +02:00
|
|
|
{{ range .Params.tiles }}
|
|
|
|
{{ partial "modal" . }}
|
2024-09-16 21:34:24 +02:00
|
|
|
<div class="col-lg-4 col-sm-6 filter-item" data-groups="{{ .category | urlize }}">
|
2023-08-04 18:05:35 +02:00
|
|
|
<div class="card border-primary rounded-0 hover-shadow mb-2">
|
2024-09-16 21:34:24 +02:00
|
|
|
{{ if and .image (ne .image "/media/image.webp") }}
|
|
|
|
<img class="card-img-top rounded-0" src="{{ .image | relURL }}">
|
|
|
|
{{ else }}
|
|
|
|
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
|
|
|
|
<span class="fb-tile-icon" style="color: {{ .font_color }}">{{ partial "mdi" .icon }}</span>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2023-08-04 18:05:35 +02:00
|
|
|
<div class="card-body d-flex flex-column">
|
2023-07-29 13:16:25 +02:00
|
|
|
<h4 class="card-title text-truncate">{{ .title }}</h4>
|
2024-09-15 17:23:25 +02:00
|
|
|
{{ if .external.enable }}
|
|
|
|
<a href="{{ .external.link | absURL }}" class="btn btn-primary btn-sm mt-auto align-self-start">Mehr anzeigen</a>
|
|
|
|
{{ else }}
|
|
|
|
<button type="button" class="btn btn-primary btn-sm mt-auto align-self-start" onclick="$('#{{ md5 .title }}').modal('show');" data-pagefind-ignore>Mehr anzeigen</button>
|
|
|
|
{{ end }}
|
2023-07-29 13:16:25 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-24 12:02:51 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2024-09-16 21:34:24 +02:00
|
|
|
<div class="filter-sizer col-1"></div>
|
2023-07-24 12:02:51 +02:00
|
|
|
</div>
|
|
|
|
</section>
|