summaryrefslogtreecommitdiff
path: root/layouts/_partials/head/css.html
blob: c0e9b117fd3671235e447da320d732fc6975b2a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!-- 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 }}