{{- $pctx := . -}} {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} {{- $pages := slice -}} {{- if or $.IsHome $.IsSection -}} {{- $pages = $pctx.RegularPagesRecursive -}} {{- else -}} {{- $pages = $pctx.Pages -}} {{- end -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}} {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} {{ .Site.Author.name }}'s Art {{ .Permalink }} Feed of the art that I make! {{ with .Site.LanguageCode }} {{.}} {{end}} {{ with .Site.Copyright }} {{.}} {{end}} {{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ end }} https://www.rssboard.org/rss-specification {{ with resources.Get "rss-image.png" }} {{ .Permalink }} {{ $.Site.Author.name }}'s Art {{ $.Permalink }} 100 100 {{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} {{ if not (.Param "excludefeed") }} {{ with .Title }} {{ . }} {{ else }} Untitled Artwork {{ end }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ .Permalink }} {{ with .Summary }} {{ " {{ else }} This artwork has no description. {{ end }} {{ with $.Site.Author.name }} {{ . }} {{ end }} {{ " {{ end }} {{ with .Content }}

{{ . | safeHTML }}

{{ else }}

This artwork has no additional commentary.

{{ end }}]]>
{{ end }} {{ end }}