diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 70f290fd..929146f7 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -12,7 +12,7 @@
{{ with .OutputFormats.Get "RSS" }}
{{ printf "" .Permalink .MediaType | safeHTML }}
{{ end }}
-
+ {{ if eq (trim .Permalink "index.xml") (string .Site.BaseURL)}}
{{ range .Pages}}
-
{{ .Title }}
@@ -35,6 +35,6 @@
{{ end }}
- {{ end }}{{ end }}
+ {{ end }}