2021-12-30 14:55:55 +00:00
|
|
|
<meta charset="UTF-8" />
|
2022-02-06 12:13:05 +00:00
|
|
|
<meta name="referrer" content="no-referrer" />
|
2021-12-30 14:55:55 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2022-02-06 12:48:16 +00:00
|
|
|
{{ hugo.Generator }}
|
2020-07-25 11:53:27 +00:00
|
|
|
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- $keywords := default .Site.Params.Keywords .Keywords -}}
|
|
|
|
{{- $authors := default (slice .Site.Params.GeekblogAuthor) .Params.authors -}}
|
2020-07-25 11:53:27 +00:00
|
|
|
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- with partial "utils/description" . }}
|
2022-02-14 21:58:34 +00:00
|
|
|
<meta name="description" content="{{ . | plainify | htmlUnescape | chomp }}" />
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with $keywords }}
|
2021-12-30 14:55:55 +00:00
|
|
|
<meta name="keywords" content="{{ delimit . "," }}" />
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with $authors }}
|
|
|
|
{{- $list := slice -}}
|
|
|
|
{{- range sort . }}
|
|
|
|
{{- with . }}
|
|
|
|
{{- $author := index $.Site.Data.authors . -}}
|
|
|
|
{{- $list = $list | append $author.name -}}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- with $list }}
|
2021-12-30 14:55:55 +00:00
|
|
|
<meta name="author" content="{{ delimit . "," }}" />
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|