Add Atom icon, logo
This commit is contained in:
@@ -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 @@
|
||||
</author>
|
||||
{{ end }}
|
||||
|
||||
{{ with $icon }}
|
||||
<icon>{{ . }}</icon>
|
||||
{{ end }}
|
||||
|
||||
<id>{{ $id }}</id>
|
||||
|
||||
{{ range $page.OutputFormats }}
|
||||
@@ -89,6 +95,10 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ with $logo }}
|
||||
<logo>{{ . }}</logo>
|
||||
{{ end }}
|
||||
|
||||
{{ with $rights }}
|
||||
<rights type="html">{{ printf "<![CDATA[%s]]>" . | safeHTML }}</rights>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user