Lowercase warning messages

This commit is contained in:
Will Faught
2023-09-24 18:19:14 -07:00
parent 437d8721c8
commit 823ade1eec
2 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@
{{ else if $sitetitle }}
{{ $title = $sitetitle }}
{{ else }}
{{ 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" $page.RelPermalink }}
{{ end }}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }}
@@ -143,17 +143,17 @@
{{ end }}
{{ with index $ids $id }}
{{ warnf "layouts/_default/list.atom.xml: Pages %s and %s have the same ID" . $subpage.RelPermalink }}
{{ warnf "layouts/_default/list.atom.xml: pages %s and %s have the same ID" . $subpage.RelPermalink }}
{{ end }}
{{ $ids = merge (dict $id .RelPermalink) $ids }}
{{ 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" .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" .RelPermalink }}
{{ end }}
{{ with partial "paige/authors.html" . }}