2020-07-06 18:55:32 +00:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2020-07-24 12:36:07 +00:00
|
|
|
{{ $description := default (default .Site.Title .Site.Params.Description) (default .Summary .Description) }}
|
|
|
|
{{ $keywords := default .Site.Params.Keywords .Keywords }}
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ $author := default (slice .Site.Params.GeekblogAuthor) .Params.authors }}
|
|
|
|
{{ with $description }}
|
|
|
|
<meta name="description" content="{{ . }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ with $keywords }}
|
|
|
|
<meta name="keywords" content="{{ delimit . "," }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ with $author }}
|
|
|
|
{{ $authors := slice }}
|
|
|
|
{{ range sort . }}
|
|
|
|
{{ $author := index $.Site.Data.authors . }}
|
|
|
|
{{ $authors = $authors | append $author.name }}
|
|
|
|
{{ end }}
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ with $authors }}
|
|
|
|
<meta name="author" content="{{ delimit . "," }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|