From a24ac412e2421503dd03c128d6e51429b9e50b3b Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 6 Aug 2024 11:56:11 +0200 Subject: [PATCH 1/3] fix(meta): correct meta description and add Twitter/OG descriptions Updated the meta description to use site parameters instead of page parameters for consistency. Added site-wide description to Twitter and Open Graph meta tags to enhance SEO and social media sharing. This ensures a uniform description across various platforms. --- layouts/partials/head.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 351e142..4bec1d4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ content="width=device-width, initial-scale=1.0, maximum-scale=1" /> {{ .Title }} - + @@ -21,9 +21,11 @@ + + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} From 4e42eff681c50fbc7375f027e485e8ea26c2df09 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 6 Aug 2024 12:06:30 +0200 Subject: [PATCH 2/3] fix: update Twitter and Open Graph image Changed the image from PNG to JPG in Twitter and Open Graph meta tags. --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4bec1d4..0a109d3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,11 +20,11 @@ - + - + {{ with .OutputFormats.Get "rss" -}} From 86de31fcecee261343c199c03540f4a56d939d95 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 7 Aug 2024 08:39:04 +0200 Subject: [PATCH 3/3] 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 ":" }}