From 969cd3d2153f00e3cb7862d9e5fec98961728247 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Tue, 4 Mar 2025 18:18:55 -0800 Subject: [PATCH] Move exp into var --- layouts/_default/list.atom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index bc387385..9534aa10 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -107,6 +107,7 @@ {{ range $subpage := $subpages }} {{ if not ($subpage.Param "paige.exclude_feeds") }} + {{ $authors := partial "paige/func-authors.html" $subpage }} {{ $content := partial "paige/func-content.html" $subpage }} {{ $description := markdownify $subpage.Description }} {{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }} @@ -133,7 +134,7 @@ {{ $content = replaceRE `` (printf `` $subpage.Permalink) $content }} {{ $content = partial "paige/func-minify.html" (dict "content" $content) }} - {{ with partial "paige/func-authors.html" . }} + {{ with $authors }} {{ range . }} {{ with .Params.paige.author.email }}