diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 165a539e..510842cd 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -75,6 +75,9 @@ {{ with .Title }} {{ . | markdownify | plainify | htmlUnescape | safeHTML }} {{ end }} + {{ if and (not .Description) (not .Title) }} + {{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description" .RelPermalink }} + {{ end }} {{ end }}