Move exp into var

This commit is contained in:
Will Faught
2025-03-04 18:18:55 -08:00
parent 4294f5bd05
commit 969cd3d215

View File

@@ -107,6 +107,7 @@
{{ range $subpage := $subpages }}
{{ if not ($subpage.Param "paige.exclude_feeds") }}
<entry>
{{ $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 `<a href="#fnref:(\d+)" class="footnote-backref" role="doc-backlink">` (printf `<a href="%s#fnref:$1" class="footnote-backref" role="doc-backlink">` $subpage.Permalink) $content }}
{{ $content = partial "paige/func-minify.html" (dict "content" $content) }}
{{ with partial "paige/func-authors.html" . }}
{{ with $authors }}
{{ range . }}
<author>
{{ with .Params.paige.author.email }}