re-encode and filter

This commit is contained in:
Christoph Cullmann 2025-07-20 00:09:10 +02:00
parent 16823e27a9
commit f4a8c002cc
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<center>
{{ $original := .Page.Resources.GetMatch (.Get "src") }}
{{ $preview := $original.Resize "660x" }}
{{ $preview := $original.Resize "700x Lanczos webp" }}
<a href="{{ $original.RelPermalink }}" target="_new" style="border-bottom: 0px; background-color: inherit;">
<img src="{{ $preview.RelPermalink }}" alt="{{ .Get "alt" }}" style="border: 0px;" />
</a>