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