Use with where possible

This commit is contained in:
Will Faught
2022-12-13 22:08:04 -08:00
parent e0ddce45e4
commit ff587e94e0
10 changed files with 31 additions and 31 deletions

View File

@@ -1,9 +1,9 @@
<meta charset="utf-8">
{{ if .Site.Author.name }}
<meta content="{{ .Site.Author.name }}" name="author">
{{ with .Site.Author.name }}
<meta content="{{ . }}" name="author">
{{ end }}
{{ if .Description }}
<meta content="{{ .Description }}" name="description">
{{ with .Description }}
<meta content="{{ . }}" name="description">
{{ end }}
{{ if or .Keywords .Params.tags .Params.categories }}
<meta content="{{ delimit (sort (union (union .Keywords .Params.tags) .Params.categories)) `, ` }}" name="keywords">