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-25 11:53:27 +00:00
|
|
|
|
2020-07-24 20:25:04 +00:00
|
|
|
{{ $description := default (default .Site.Title .Site.Params.description) (default .Summary .Description) }}
|
2020-07-24 12:36:07 +00:00
|
|
|
{{ $keywords := default .Site.Params.Keywords .Keywords }}
|
2020-09-17 09:15:26 +00:00
|
|
|
{{ $authors := default (slice .Site.Params.GeekblogAuthor) .Params.authors }}
|
2020-07-25 11:53:27 +00:00
|
|
|
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ with $description }}
|
2020-07-25 11:53:27 +00:00
|
|
|
<meta name="description" content="{{ . }}">
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ with $keywords }}
|
2020-07-25 11:53:27 +00:00
|
|
|
<meta name="keywords" content="{{ delimit . "," }}">
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ end }}
|
2020-09-17 09:15:26 +00:00
|
|
|
{{ with $authors }}
|
|
|
|
{{ $list := slice }}
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ range sort . }}
|
2020-09-17 09:15:26 +00:00
|
|
|
{{ with . }}
|
|
|
|
{{ $author := index $.Site.Data.authors . }}
|
|
|
|
{{ $list = $list | append $author.name }}
|
|
|
|
{{ end }}
|
2020-07-22 08:51:13 +00:00
|
|
|
{{ end }}
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2020-09-17 09:15:26 +00:00
|
|
|
{{ with $list }}
|
2020-07-22 08:51:13 +00:00
|
|
|
<meta name="author" content="{{ delimit . "," }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|