diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index ba69b834..ca85d1f0 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -64,6 +64,10 @@ {{ . }} {{ end }} + {{ with $page.OutputFormats.Get "atom" }} + + {{ end }} + {{ range $page.OutputFormats }} {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }} @@ -152,6 +156,8 @@ {{ . }} {{ end }} + + {{ range $subpage.OutputFormats }} {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }} diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index 47dde8dc..ae9fbf40 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -40,6 +40,10 @@ + {{ with $page.OutputFormats.Get "rss" }} + + {{ end }} + {{ range $page.OutputFormats }} {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }} @@ -139,6 +143,8 @@ {{ . }} {{ end }} + + {{ range $subpage.OutputFormats }} {{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}