{{ safeHTML "" }} {{ printf `<![CDATA[%s RSS 2.0]]>` site.Title | safeHTML }} {{ site.BaseURL | absURL }} {{ $logo := resources.Get (site.Params.assets.logo | default "/img/open-graph-logo.png" ) }}{{ $logo = $logo.Resize "96x96" }} {{ $logo.Permalink | absURL }} {{ printf `<![CDATA[%s RSS 2.0]]>` site.Title | safeHTML }} {{ site.BaseURL | absURL }} {{ $logo.Width }} {{ $logo.Height }} {{ with site.Home.OutputFormats.Get "FEED"}}{{end}} {{ with site.Home.OutputFormats.Get "ATOM"}}{{end}} {{ with site.Home.OutputFormats.Get "JSON"}}{{end}} {{ with site.Params.description }}{{ printf `` . | safeHTML }}{{ end }} Hugo {{ hugo.Version }} {{ with site.Author.name }}{{ printf `` . | safeHTML }}{{ end }} {{ with site.LanguageCode }}{{ . }}{{ end }} {{ with site.Params.Copyright }}{{ printf `` . | safeHTML }}{{ end }} {{ if not site.LastChange.IsZero }}{{ site.LastChange.UTC.Format site.Params.dateFormatRFC822Z | html }}{{ end }} {{ $feedsize := site.Params.feedSize | default 25 }} {{- range first $feedsize (where site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections) }} {{ printf `<![CDATA[%s]]>` .Title | safeHTML }} {{ .Permalink | absURL }}{{ $date := .PublishDate.UTC }} {{ $date.Format site.Params.dateFormatRFC822Z | html }} {{ .Section }} {{ range (.GetTerms "tags") }}{{ .LinkTitle }}{{end}} {{ md5 .Permalink }} {{ printf `` .Summary | safeHTML }} {{ end }}