1
0
Fork 0
mirror of https://github.com/Findus23/guides.git synced 2024-09-19 16:03:51 +02:00
guides/layouts/_default/baseof.html
2022-09-18 23:25:25 +01:00

32 lines
1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ end }}
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{- $sassOptions := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $sassOptions | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
{{ partial "matomo.html" . }}
</head>
<body>
<main>
{{ block "main" . }}
{{ end }}
</main>
<footer>
<a href="https://lw1.at/i/">Privacy Policy</a>
<a href="https://lw1.at/">My other projects</a>
</footer>
</body>
</html>