gcg-website/layouts/partials/head.html

39 lines
1.3 KiB
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
<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 }}
2023-01-14 17:31:54 +01:00
<link rel="stylesheet" href="{{ . | absURL }}">
2022-03-18 13:35:57 +01:00
{{ end }}
2023-06-11 21:13:11 +02:00
{{ $style := resources.Get "css/style.css" | minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
2022-03-18 13:35:57 +01:00
<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">
2023-02-28 08:37:51 +01:00
2024-01-03 11:40:48 +01:00
{{ range .Site.Params.plugins.head_js }}
<script src="{{ . | absURL }}" type="text/javascript"></script>
{{ end }}
2023-09-23 18:01:28 +02:00
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
2023-01-03 11:55:46 +00:00
{{ partial "opengraph" . }}
{{ partial "twitter" . }}
2022-07-03 09:22:28 +00:00
2022-03-18 13:35:57 +01:00
</head>
2023-03-05 21:33:21 +01:00
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>
2023-03-05 21:33:21 +01:00
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body">
2023-04-23 10:42:34 +02:00
<div id="search"></div>
2023-03-05 21:33:21 +01:00
</div>
</div>
</div>
</div>