From 86de31fcecee261343c199c03540f4a56d939d95 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 7 Aug 2024 08:39:04 +0200 Subject: [PATCH] feat: improve image handling on weekly issue covers Updated image handling to use Hugo's image processing for resizing cover images, which enhances performance by serving optimized images. Replaces direct image URL with resource-based URL. --- layouts/_default/list.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 87f70b2..459e131 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,11 @@

{{ .LinkTitle }}

- Revuo Monero Weekly #{{ .Params.issuenumber }} cover + {{ $image := .Resources.Get "cover.png" }} + {{ $image := $image.Resize "650x" }} + {{ with $image }} + Revuo Monero Weekly #{{ .Params.issuenumber }} cover + {{ end }} {{ $sTitle := split .Params.title ":" }}