WIP: GCG35
This commit is contained in:
@ -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>
|
||||
|
@ -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 }}
|
||||
|
Reference in New Issue
Block a user