From 5aeaec0fcc3c0145fbc2a4fd3d87f8201ea96c96 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 14 Jun 2026 16:30:44 +0200 Subject: feat: Small quality of life --- layouts/404.html | 4 ++-- layouts/partials/head/meta.html | 1 + layouts/partials/header/avatar.html | 1 + layouts/partials/list/default.html | 2 +- layouts/shortcodes/img.html | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 6bed926..021efa1 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -2,11 +2,11 @@
-

{{ i18n "404_title" }}

+

Page Not Found

-

{{ i18n "404_text" }}

+

Sorry, this page doesn't exist. Go back home.

diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 93f8594..b8b77c9 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -11,6 +11,7 @@ /> + diff --git a/layouts/partials/header/avatar.html b/layouts/partials/header/avatar.html index e7bf084..9f580a3 100644 --- a/layouts/partials/header/avatar.html +++ b/layouts/partials/header/avatar.html @@ -8,6 +8,7 @@ width="{{ $avatar.Width }}" height="{{ $avatar.Height }}" alt="{{ .Site.Title }}" + loading="lazy" /> diff --git a/layouts/partials/list/default.html b/layouts/partials/list/default.html index 799e7d7..5474596 100644 --- a/layouts/partials/list/default.html +++ b/layouts/partials/list/default.html @@ -5,7 +5,7 @@ diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 45ce3da..9e50ce4 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -4,7 +4,7 @@ {{ $captionPosition := .Get "caption-position" }}
- {{ . }} + {{ . }} {{ with $caption }}