diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 39d1cc14..70f290fd 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -12,31 +12,7 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{ end }} - {{ if eq (trim .Permalink "index.xml") (string .Site.BaseURL)}} - {{ range where .Site.Pages "Kind" "page" }} - - {{ .Title }} - {{ .Permalink }} - {{ if eq .Params.posttype "in-reply-to" }}{{ index .Params "in-reply-to" }}{{ end }} - {{ if eq .Params.posttype "like-of" }}{{ index .Params "like-of" }}{{ end }} - {{ if eq .Params.posttype "repost-of" }}{{ index .Params "repost-of" }}{{ end }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - - {{ .Content | plainify }} - ({{ .Permalink }}) - {{ range .Params.Photo }} - {{ if not ( in . "http" ) }} - - {{ else }} - - {{ end }} - {{ end }} - - - {{ end }} - {{else}} + {{ range .Pages}} {{ .Title }}