2022-11-02 15:48:45 +01:00
|
|
|
{{- if default true .Site.Params.GeekdocDarkModeToggle }}
|
|
|
|
<script src="{{ index (index .Site.Data.assets "colortheme.js") "src" | relURL }}"></script>
|
|
|
|
{{- end }}
|
2022-01-08 21:36:55 +01:00
|
|
|
<script src="{{ index (index .Site.Data.assets "main.js") "src" | relURL }}"></script>
|
2021-04-27 23:44:35 +02:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
as="font"
|
|
|
|
href="{{ "fonts/Metropolis.woff2" | relURL }}"
|
|
|
|
type="font/woff2"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
as="font"
|
|
|
|
href="{{ "fonts/LiberationSans.woff2" | relURL }}"
|
|
|
|
type="font/woff2"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
2020-09-19 12:23:14 +02:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="{{ index (index .Site.Data.assets "main.scss") "src" | relURL }}"
|
|
|
|
as="style"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="{{ index (index .Site.Data.assets "main.scss") "src" | relURL }}"
|
|
|
|
media="all"
|
|
|
|
/>
|
2020-09-19 12:23:14 +02:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="{{ index (index .Site.Data.assets "mobile.scss") "src" | relURL }}"
|
|
|
|
as="style"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="{{ index (index .Site.Data.assets "mobile.scss") "src" | relURL }}"
|
|
|
|
media="screen and (max-width: 45rem)"
|
|
|
|
/>
|
2020-11-09 22:06:06 +01:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="{{ index (index .Site.Data.assets "print.scss") "src" | relURL }}"
|
|
|
|
as="style"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="{{ index (index .Site.Data.assets "print.scss") "src" | relURL }}"
|
|
|
|
media="print"
|
|
|
|
/>
|
2020-11-09 22:06:06 +01:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="{{ index (index .Site.Data.assets "custom.css") "src" | relURL }}"
|
|
|
|
as="style"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="{{ index (index .Site.Data.assets "custom.css") "src" | relURL }}"
|
|
|
|
media="all"
|
|
|
|
/>
|
2020-01-12 15:33:02 +01:00
|
|
|
|
2022-02-07 12:04:51 +01:00
|
|
|
{{- with .OutputFormats.Get "html" }}
|
|
|
|
{{ printf `<link href=%q rel=%q type=%q />` .Permalink .Rel .MediaType.Type | safeHTML }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }}
|
2022-01-06 13:58:10 +01:00
|
|
|
<base href="{{ .Site.BaseURL }}" />
|
2022-02-07 12:04:51 +01:00
|
|
|
{{- end }}
|
2021-04-10 15:52:27 +02:00
|
|
|
|
2020-11-07 15:47:52 +01:00
|
|
|
{{ printf "<!-- %s -->" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }}
|