blob: 3aaac304896f29208edc6cfeb19202b72d4128d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{{- $default := resources.Get "css/default.css" -}}
{{- $syntax := resources.Get "css/default-syntax.css" -}}
{{- $simple := resources.Get "css/default-simple.css" -}}
{{- $css :=
slice $default $syntax |
resources.Concat "css/bundle.css" |
resources.Minify |
fingerprint |
-}}
{{ if .Site.Params.site.production }}
<link rel="stylesheet" href="{{ $css.Permalink }}" title="Default" />
{{ else }}
<link rel="stylesheet" href="{{ $default.Permalink }}" title="Default" />
<link rel="stylesheet" href="{{ $syntax.Permalink }}" />
{{ end }}
<link rel="alternate stylesheet" href="{{ $simple.Permalink }}" />
|