bunteshaus.de/themes/buha/layouts/partials/snippets/head.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2022-04-11 20:53:58 +02:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2022-05-09 21:37:34 +02:00
{{ $common := resources.Get "scss/common.scss" | resources.ToCSS }}
{{ $water := resources.Get "css/water.css" | resources.ToCSS }}
{{ $big := resources.Get "scss/big.scss" | resources.ToCSS }}
{{ $allcss := slice $water $common $big | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
2022-04-11 20:53:58 +02:00
<link rel="stylesheet" href="{{ $allcss.RelPermalink }}" integrity="{{ $allcss.Data.Integrity }}">
2022-05-06 11:49:30 +02:00
2022-04-11 20:53:58 +02:00
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
<meta property="og:title" content="{{ site.Title }}" />
<link rel="canonical" href="{{ .Permalink }}">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ if .Site.Params.keywords -}}
<meta name="keywords" content="{{ .Site.Params.keywords }}" />
{{- end }}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
{{ template "_internal/opengraph.html" . }}