1
0
Fork 0
mirror of https://github.com/Findus23/guides.git synced 2024-09-20 17:13:51 +02:00
guides/layouts/_default/baseof.html

32 lines
971 B
HTML
Raw Normal View History

2022-01-08 21:41:33 +01:00
<!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 }}
2022-01-08 22:59:34 +01:00
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
2022-01-08 21:41:33 +01:00
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
2022-01-08 22:59:34 +01:00
{{ partial "matomo.html" . }}
2022-01-08 21:41:33 +01:00
</head>
<body>
2022-01-08 22:59:34 +01:00
<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>
2022-01-08 21:41:33 +01:00
</body>
</html>