blob: 79d8c8c376bcbd1fcc5abdde0072d86f20ccc078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!-- Pagefind -->
<link href="/pagefind/pagefind-component-ui.css" rel="stylesheet">
<!-- Extra -->
{{ range .Site.Params.extraCSSFiles -}}
<link
rel="stylesheet"
href="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}"
/>
{{- end }}
<!-- theme css -->
{{ with resources.Get "css/uno.css" | minify }}
<style>{{ .Content | safeCSS }}</style>
{{ end }}
{{ with resources.Get "css/main.scss" | css.Sass | minify }}
<style>{{ .Content | safeCSS }}</style>
{{ end }}
{{ $opts := dict
"mode" "light"
"targetPath" "css/highlight-light.css"
}}
{{ with css.ChromaStyles $opts }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ $opts := dict
"mode" "dark"
"modeSelector" true
"targetPath" "css/highlight-dark.css"
}}
{{ with css.ChromaStyles $opts }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
|