diff --git a/config.toml b/config.toml index 6955a3c..a164d51 100644 --- a/config.toml +++ b/config.toml @@ -34,3 +34,8 @@ keybase = "noettore" #social_banner = "img/banner.png" posts_navigation = true small_banner_logo = true + +[outputFormats] +[outputFormats.RSS] + mediatype = "application/rss" + baseName = "feed" \ No newline at end of file diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 98fef67..83268a1 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -13,14 +13,14 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{ end }} - {{ range .Pages }} + {{ range (where .Pages "Section" "blog") }} {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{- .Content | html -}} + {{ .Content | html }} {{ end }}