Fork of @spf13's port of Mdo's excellent theme to Hugo https://brendan.abolivier.bzh/

1234567891011121314151617181920212223
  1. <rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. >
  4. <channel>
  5. <title>{{ .Site.Title }}</title>
  6. <link>{{ .Site.BaseURL }}</link>
  7. <description>{{ .Site.Params.description }}</description>
  8. <generator>Hugo (gohugo.io)</generator>
  9. <copyright>{{ .Site.Params.copyright }}</copyright>
  10. <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
  11. {{ range first 15 .Data.Pages }}
  12. <item>
  13. <title>{{ .Title }}</title>
  14. <link>{{ .Permalink }}</link>
  15. <author>{{ .Site.Params.author }}</author>
  16. <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
  17. <guid>{{ .Permalink }}</guid>
  18. <description>{{ .Description | html }}</description>
  19. <content:encoded>{{ htmlUnescape "<![CDATA[" | safeHTML }}{{ .Content }}]]></content:encoded>
  20. </item>
  21. {{ end }}
  22. </channel>
  23. </rss>