diff options
Diffstat (limited to 'themes/default/layouts/_default/rss.xml')
-rw-r--r-- | themes/default/layouts/_default/rss.xml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/themes/default/layouts/_default/rss.xml b/themes/default/layouts/_default/rss.xml index c7bba6d..8cb5276 100644 --- a/themes/default/layouts/_default/rss.xml +++ b/themes/default/layouts/_default/rss.xml @@ -32,10 +32,6 @@ "/" $author.user "/" $author.user "-profile" (path.Ext $author.picture.profile) -}} -{{- if not (fileExists (print "public/" $image)) -}} - {{- $image = "/data/media/404.png" -}} -{{- end -}} - {{- $atomSelf := "" -}} {{- $atomPrevious := "" -}} {{- $atomNext := "" -}} @@ -87,18 +83,11 @@ "/" $author.user "/" $author.user "-profile" (path.Ext $author.picture.profile) -}} - {{- if not (fileExists (print "public/" $image)) -}} - {{- $image = "/data/media/404.png" -}} - {{- end -}} - {{- $atomAuthorUri := print $absURL $image -}} {{- $atomAuthorName := or .Params.Feed.name $author.name -}} {{- if .Params.Feed.favicon -}} {{- $favicon := print "/" (partial "function-paths.html").media "/favicon." (.Params.Feed.source | anchorize) ".png" -}} - {{- if not (fileExists (print "public/" $favicon)) -}} - {{- $favicon = "/data/media/404.png" -}} - {{- end -}} {{- $atomAuthorUri = print $absURL $favicon -}} {{- end -}} @@ -109,7 +98,7 @@ <guid>{{ .Permalink }}</guid> <description> {{ partial "function-content.html" . | html -}} - {{- print "<br>" | html -}} + {{- print "<br />" | html -}} {{- partial "rss-tags.html" . | html }} </description> <atom:author> @@ -121,5 +110,4 @@ {{ end -}} </channel> </rss> - {{- end -}} |