From 2ed6acfe5d79baedb89ae53feae07cad85533f71 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 10 Mar 2025 18:55:24 -0700 Subject: [PATCH] Order channel fields for RSS --- layouts/_default/list.rss.xml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index ae9fbf40..7586f9dd 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -40,22 +40,6 @@ - {{ with $page.OutputFormats.Get "rss" }} - - {{ end }} - - {{ range $page.OutputFormats }} - {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }} - - - {{ end }} - - {{ range $t := $page.Translations }} - {{ range .OutputFormats }} - - {{ end }} - {{ end }} - {{ with $copyright }} {{ . }} {{ end }} @@ -76,6 +60,22 @@ {{ . }} {{ end }} + {{ with $page.OutputFormats.Get "rss" }} + + {{ end }} + + {{ range $page.OutputFormats }} + {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }} + + + {{ end }} + + {{ range $t := $page.Translations }} + {{ range .OutputFormats }} + + {{ end }} + {{ end }} + {{ with $editor }} {{ . }} {{ end }}