WIP: GCG35
All checks were successful
website-main / prod-build (push) Successful in 2m17s
website-main / test-build (push) Successful in 1m10s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
2023-09-20 17:04:50 +02:00
parent 63c9d1fcc4
commit 7818a47100
94 changed files with 20 additions and 22 deletions

View File

@ -1,4 +1,4 @@
<div class="card border-primary rounded-0 hover-shadow mb-2">
<div class="card border-primary rounded-0 hover-shadow mb-4">
<div class="card-body mb-0">
<h4 class="card-title"><a class="text-decoration-none" href='{{ .Get "link" }}'>{{ .Get "title" }}</a></h4>
<a href='{{ .Get "link" }}' class="mb-0 btn btn-primary btn-sm text-decoration-none">Mehr anzeigen</a>

View File

@ -7,7 +7,11 @@
{{ if $isimg }}
{{ $linkURL := print (trim $.Site.BaseURL "/") "/" $dir "/" .Name | absURL }}
<div class="col-lg-3 col-md-4 col-sm-6">
<a class="vb-gallery" data-gall="{{ md5 $dir }}" href="{{ $linkURL }}"><img class="lazy img-thumbnail w-100 h-100" style="object-fit: cover;" data-src="{{ $linkURL }}"></a>
<a class="vb-gallery" data-gall="{{ md5 $dir }}" href="{{ $linkURL }}">
<div class="ratio ratio-4x3">
<img class="lazy img-thumbnail w-100 object-cover" data-src="{{ $linkURL }}">
</div>
</a>
</div>
{{ end }}
{{ end }}