gcg-website/layouts/partials/head.html
2022-07-03 09:22:28 +00:00

24 lines
945 B
HTML

<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}
{{ range .Site.Params.plugins.css }}
<link rel="stylesheet" href="{{ .link | absURL }}">
{{ end }}
{{ $styles := resources.Get "scss/style.scss" | toCSS }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
<link rel="shortcut icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
<script defer data-domain="neu.cantorgymnasium.de" src="https://analytics.cantorgymnasium.de/js/plausible.js"></script>
</head>