From 2371d266800c927b601014824dd02590a213cabc Mon Sep 17 00:00:00 2001 From: teldra Date: Fri, 24 Jun 2022 13:55:47 +0200 Subject: [PATCH] search in archive, and a fix --- content/archive/_index.de.md | 1 + themes/buha/layouts/archive/list.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/content/archive/_index.de.md b/content/archive/_index.de.md index 3a4a4b94..01467db6 100644 --- a/content/archive/_index.de.md +++ b/content/archive/_index.de.md @@ -1,3 +1,4 @@ --- title: "Archiv" --- +{{< search >}} diff --git a/themes/buha/layouts/archive/list.html b/themes/buha/layouts/archive/list.html index 33e34421..22fa5d8e 100644 --- a/themes/buha/layouts/archive/list.html +++ b/themes/buha/layouts/archive/list.html @@ -8,7 +8,7 @@ {{ define "intro" }} {{ if ne .Content "" }} - {{ partial "snippets/content" (dict "content" .context.Content) }} + {{ partial "snippets/content" (dict "content" .Content) }} {{ end }} {{ end }}