From 5a3b470a2ff4382e5e6cda40a714e5d539f00b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 15 Feb 2025 14:36:22 +0100 Subject: [PATCH] theme: "move" the id from content to article This is the id used for Algolia records without id on the element itself. --- layouts/_default/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c0d7ca332..198f9a91d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,8 @@ {{ define "main" }} {{ $ttop := debug.Timer "single" }} -
+
{{ partial "layouts/docsheader.html" . }} -
+
{{ with .Params.description }}
{{ . | markdownify }}