Combine conditional statements

This commit is contained in:
Will Faught
2023-09-24 14:50:49 -07:00
parent e9194308ca
commit 408f49940d
2 changed files with 3 additions and 3 deletions

View File

@@ -43,9 +43,7 @@
{{ $title = $pagetitle }}
{{ else if $sitetitle }}
{{ $title = $sitetitle }}
{{ end }}
{{ if not $title }}
{{ else }}
{{ warnf "layouts/_default/list.atom.xml: Page %s does not have a title" $page.RelPermalink }}
{{ end }}