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" . }}

View File

@@ -37,7 +37,7 @@
{{ else if $sitetitle }}
{{ $title = $sitetitle }}
{{ else }}
{{ warnf "layouts/_default/rss.xml: Page %s does not have a title" $page.RelPermalink }}
{{ warnf "layouts/_default/rss.xml: page %s does not have a title" $page.RelPermalink }}
{{ end }}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }}
@@ -109,7 +109,7 @@
{{ $description = $description | replaceRE `<a href="#fnref:(\d+)" class="footnote-backref" role="doc-backlink">` (printf `<a href="%s#fnref:$1" class="footnote-backref" role="doc-backlink">` .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" .RelPermalink }}
{{ end }}
{{ if .Params.id }}
@@ -122,7 +122,7 @@
{{ end }}
{{ with index $guids $guid }}
{{ warnf "layouts/_default/rss.xml: Pages %s and %s have the same GUID" . $subpage.RelPermalink }}
{{ warnf "layouts/_default/rss.xml: pages %s and %s have the same GUID" . $subpage.RelPermalink }}
{{ end }}
{{ $guids = merge (dict $guid .RelPermalink) $guids }}