Dotawo/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html

38 lines
1.4 KiB
HTML
Raw Normal View History

2020-12-06 04:11:20 -08:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
{{ if .Description }}
2020-12-18 06:02:50 -08:00
<meta name="description" content="{{ .Description }}" />
2020-12-06 04:11:20 -08:00
{{ end }}
2020-12-18 06:02:50 -08:00
2020-12-06 04:11:20 -08:00
{{ if .Keywords }}
2020-12-18 06:02:50 -08:00
<meta name="keywords" content="{{ delimit .Keywords "," }}" />
2020-12-06 04:11:20 -08:00
{{ end }}
2020-12-18 06:02:50 -08:00
2020-12-06 04:11:20 -08:00
{{ if .Params.Author }}
2020-12-18 06:02:50 -08:00
<meta name="author" content="{{ .Params.Author}}" />
2020-12-06 04:11:20 -08:00
{{ end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ hugo.Generator }}
<link rel="apple-touch-icon" sizes="76x76" 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="#996561">
{{ if eq hugo.Environment "dev" }}
{{ $style := resources.Get "css/site.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ $style := resources.Get "css/player.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ else }}
<link rel="stylesheet" href="/css/site.min.css" />
<link rel="stylesheet" href="/css/player.min.css" />
{{ end }}