Use description, title vars to verify RSS item

This commit is contained in:
Will Faught
2023-09-23 14:15:13 -07:00
parent 3b27a30755
commit bf270078c2

View File

@@ -137,7 +137,7 @@
<title>{{ . }}</title>
{{ 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 }}
</item>