Move var up

This commit is contained in:
Will Faught
2023-09-23 15:50:08 -07:00
parent 7f144fbe17
commit 3ebb2b7fc4

View File

@@ -6,6 +6,7 @@
{{ $guids := dict }}
{{ $html := $page.AlternativeOutputFormats.Get "html" }}
{{ $language := site.LanguageCode | default site.Language.Lang }}
{{ $lastbuilddate := (partial "paige/changed.html" $page).Format $format }}
{{ $limit := site.Config.Services.RSS.Limit }}
{{ $link := ($page.AlternativeOutputFormats.Get "html").Permalink }}
{{ $managingeditor := $page.Param "paige.feed.rss.managing_editor" }}
@@ -15,8 +16,6 @@
{{ $title := "" }}
{{ $webmaster := $page.Param "paige.feed.rss.web_master" }}
{{ $lastbuilddate := (partial "paige/changed.html" $page).Format $format }}
{{ $subpages = where $subpages "Params.paige.feed.hide_page" "ne" true }}
{{ if ge $limit 0 }}