diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index 832570b2..edac1c37 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -31,7 +31,7 @@ {{ $title := delimit $titles " · " }} {{ if not $title }} - {{ warnf "layouts/_default/list.atom.xml: page %s does not have a title" $page.RelPermalink }} + {{ warnf "layouts/_default/list.atom.xml: Page %s does not have a title. The atom output requires a title. Either set the page's title parameter, or disable the atom output." $page.RelPermalink }} {{ end }} {{ printf "" | safeHTML }} @@ -119,11 +119,11 @@ {{ end }} {{ if not $title }} - {{ warnf "layouts/_default/list.atom.xml: page %s does not have a title" .RelPermalink }} + {{ warnf "layouts/_default/list.atom.xml: Page %s does not have a title. The atom output requires a title. Either set the page's title parameter, or disable the atom output." .RelPermalink }} {{ end }} {{ if .Lastmod.IsZero }} - {{ warnf "layouts/_default/list.atom.xml: page %s does not have a modified date" .RelPermalink }} + {{ warnf "layouts/_default/list.atom.xml: Page %s does not have a modified date. The atom output requires a modified date. Either set the page's date parameter, or set the page's paige.feed.disable parameter to true, or disable the atom output." .RelPermalink }} {{ end }} {{ with partial "paige/authors.html" . }} diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index c3d94f9b..44db3f9a 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -34,7 +34,7 @@ {{ $title := delimit $titles " · " }} {{ if not $title }} - {{ warnf "layouts/_default/list.rss.xml: page %s does not have a title" $page.RelPermalink }} + {{ warnf "layouts/_default/list.rss.xml: Page %s does not have a title. The rss output requires a title. Either set the page's title parameter, or disable the rss output." $page.RelPermalink }} {{ end }} {{ printf "" | safeHTML }} @@ -125,7 +125,7 @@ {{ $description = $description | replaceRE `` (printf `` .Permalink) }} {{ if and (not $description) (not $title) }} - {{ warnf "layouts/_default/rss.xml: page %s does not have a title or description" .RelPermalink }} + {{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description. The rss output requires a title or description. Either set the page's title or description parameters, or disable the rss output." .RelPermalink }} {{ end }} {{ with $author }}