Compare commits

...

2 commits

Author SHA1 Message Date
286023d348
Fix indenting 2024-03-26 20:23:01 +01:00
97c8404d54
Fix: wrong padding on gallery item 2024-03-26 19:33:27 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
{{ else }}
<a class="item item-center image-popup-gallery" data-mfp-src="{{ $image.RelPermalink }}">
<img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" onerror='this.onerror=null,this.src="{{ $thumb.RelPermalink }}"' alt="{{ .name }}" title="{{ .name }}">
<img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" onerror='this.onerror=null,this.src="{{ $thumb.RelPermalink }}"' alt="{{ .name }}" title="{{ .name }}">
</a>
{{ end }}

View file

@ -49,7 +49,7 @@
{{- $original := resources.Get .image -}}
{{ $thumb := $original.Fit "512x512" }}
{{ $image := $original.Fit "1080x1080" }}
<div class="item col-sm-4 col-lg-3 my-2">
<div class="col-sm-4 col-lg-3 my-2">
<a class="card bg-transparent" href="{{ $image.RelPermalink }}" data-lightbox="{{ $category }}" data-title="{{ .name }}">
<img class="card-img" src="{{ $thumb.RelPermalink }}" alt="">
</a>