From 5e9a6a15d60a4384a2164ac3c32d0c23e66c143b Mon Sep 17 00:00:00 2001 From: Domini Montessori Date: Mon, 7 Sep 2026 07:00:19 +0300 Subject: [PATCH] improve: add prefetch for next post + fix KG og image path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add link rel=prefetch for .NextInSection in head.html - Fix KG _index.md: /assets/images/og-default.png → /images/og-default.png --- content/knowledge-graph/_index.md | 2 +- layouts/partials/head.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/content/knowledge-graph/_index.md b/content/knowledge-graph/_index.md index 38aa7a92..c33a7d09 100644 --- a/content/knowledge-graph/_index.md +++ b/content/knowledge-graph/_index.md @@ -2,7 +2,7 @@ title: Knowledge Graph date: '2025-12-29T20:01:00.000Z' slug: knowledge-graph -image: /assets/images/og-default.png +image: /images/og-default.png alt: "Knowledge Graph" --- diff --git a/layouts/partials/head.html b/layouts/partials/head.html index edfd328b..fca9076c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -249,6 +249,11 @@ {{ end }} {{/* Preconnect for external services */}} + {{ if .IsPage }} + {{ with .NextInSection }} + + {{ end }} + {{ end }}