Use with where possible
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user