From 5bf9480c557f93f2bf86039cd6052643c9930b30 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Wed, 19 Jun 2024 22:46:11 +0100 Subject: [PATCH] Fix scope issue --- layouts/partials/latest-non-reply-note.obj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/latest-non-reply-note.obj b/layouts/partials/latest-non-reply-note.obj index a85ae228..1af16641 100644 --- a/layouts/partials/latest-non-reply-note.obj +++ b/layouts/partials/latest-non-reply-note.obj @@ -1,4 +1,4 @@ -{{- $notePages := where .Site.RegularPages "Section" "eq" "notes" -}} +{{- $notePages := where site.RegularPages "Section" "eq" "notes" -}} {{- $notePage := index $notePages 0 -}} {{- if $notePage.Params.inReplyTo -}} {{- range $notePages -}}