43 lines
1.5 KiB
HTML
43 lines
1.5 KiB
HTML
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
|
||
|
{{ hugo.Generator }}
|
||
|
<link rel="canonical" href="{{ .Permalink }}">
|
||
|
|
||
|
{{ if .IsHome }}
|
||
|
{{ with .Site.Params.homeMetaContent }}
|
||
|
<meta name="description" content="{{ . | plainify }}">
|
||
|
{{ end }}
|
||
|
{{ else }}
|
||
|
{{ $summary := trim (.Summary | plainify | htmlUnescape) "\n\r"
|
||
|
| default .Title }}
|
||
|
<meta name="description" content="{{ $summary }}">
|
||
|
{{ end }}
|
||
|
|
||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||
|
<link rel="manifest" href="/site.webmanifest">
|
||
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000">
|
||
|
<meta name="msapplication-TileColor" content="#ffffff">
|
||
|
<meta name="theme-color" content="#ffffff">
|
||
|
|
||
|
<link rel="stylesheet" type="text/css" href="{{ "css/paper.css" | relURL }}">
|
||
|
|
||
|
{{ $customCssPath := "css/custom.css" }}
|
||
|
{{ $customCss:= resources.Get $customCssPath | resources.ExecuteAsTemplate $customCssPath . }}
|
||
|
<link rel="stylesheet" type="text/css" href="{{ $customCss.RelPermalink }}">
|
||
|
|
||
|
{{ if hugo.IsProduction }}
|
||
|
{{ template "gtm.html" . }}
|
||
|
{{ end }}
|
||
|
|
||
|
{{ $title := print .Title " | " .Site.Title }}
|
||
|
{{ if .IsHome }}
|
||
|
{{ $title = .Site.Title }}
|
||
|
{{ end }}
|
||
|
<title>{{ $title }}</title>
|
||
|
</head>
|