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-22 08:51:13 +00:00
|
|
|
{{ $description := default .Site.Params.GeekblogDescription (default .Summary .Description) }}
|
|
|
|
{{ $keywords := default .Site.Params.GeekblogKeywords .Keywords }}
|
|
|
|
{{ $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 }}
|
2020-07-22 09:12:24 +00:00
|
|
|
<title>{{ if not (eq .Kind "home") }}{{ partial "title" . }} | {{ end }}{{ .Site.Title }}</title>
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
<link rel="icon" href="{{ "favicon/favicon-32x32.png" | relURL }}" type="image/x-icon">
|
|
|
|
<link rel="stylesheet" href="{{ "main.min.css" | relURL }}" media="screen">
|
|
|
|
<link rel="stylesheet" href="{{ "custom.css" | relURL }}" media="screen">
|
|
|
|
|
2020-07-22 09:12:24 +00:00
|
|
|
{{ with .OutputFormats.Get "atom" }}
|
2020-07-06 18:55:32 +00:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
2020-07-22 09:12:24 +00:00
|
|
|
{{ end }}
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2020-07-22 09:12:24 +00:00
|
|
|
{{ "<!--" | safeHTML }}
|
2020-07-06 18:55:32 +00:00
|
|
|
Made with Geekblog theme https://github.com/xoxys/hugo-geekblog
|
|
|
|
{{- "-->" | safeHTML }}
|