diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 2ee5d3d4..970ebf03 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -137,7 +137,7 @@ {{ . }} {{ end }} - {{ if and (not .Description) (not .Title) }} + {{ if and (not $description) (not $title) }} {{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description" .RelPermalink }} {{ end }}