diff --git a/README.md b/README.md index ee28c077..f5a7619a 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,8 @@ authors = [] # email = "will.faught@example.com" # name = "Will Faught # url = "https://willfaught.com/paige" +icon = "" # Example is "/icon.webp" +logo = "" # Example is "/logo.webp" [paige.feed.rss] managing_editor = "" # Example is "Will Faught " diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index 3bddd3da..c8ed9dc5 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -3,10 +3,12 @@ {{ $authors := $page.Param "paige.feed.atom.authors" }} {{ $format := "2006-01-02T15:04:05Z07:00" }} {{ $html := $page.AlternativeOutputFormats.Get "html" }} +{{ $icon := absLangURL ($page.Param "paige.feed.atom.icon") }} {{ $id := "" }} {{ $ids := dict }} {{ $language := site.LanguageCode | default site.Language.Lang }} {{ $limit := site.Config.Services.RSS.Limit }} +{{ $logo := absLangURL ($page.Param "paige.feed.atom.logo") }} {{ $pagetitle := $page.Title | markdownify }} {{ $rights := site.Copyright | markdownify }} {{ $sitetitle := site.Title | markdownify }} @@ -65,6 +67,10 @@ {{ end }} + {{ with $icon }} + {{ . }} + {{ end }} + {{ $id }} {{ range $page.OutputFormats }} @@ -89,6 +95,10 @@ {{ end }} {{ end }} + {{ with $logo }} + {{ . }} + {{ end }} + {{ with $rights }} {{ printf "" . | safeHTML }} {{ end }}