diff options
Diffstat (limited to 'themes/layouts/partials/head/style.html')
-rw-r--r-- | themes/layouts/partials/head/style.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/layouts/partials/head/style.html b/themes/layouts/partials/head/style.html new file mode 100644 index 0000000..c5a3586 --- /dev/null +++ b/themes/layouts/partials/head/style.html @@ -0,0 +1,11 @@ +{{ $variables := resources.Get "sass/_variables.sass" }} +{{ $scaffold := resources.Get "sass/scaffold.sass" }} +{{ $custom := resources.Get "sass/custom.sass" }} +{{ $style := slice $variables $scaffold $custom | resources.Concat "sass/style.sass" | toCSS | minify | fingerprint }} +{{ $syntax := resources.Get "syntax.css" | minify }} + +<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen"> +<link rel="stylesheet" href="{{ $syntax.Permalink }}" integrity="{{ $syntax.Data.Integrity }}" media="screen"> +{{ if .Site.Params.assets.customCSS }} + <link rel="stylesheet" href="{{ .Site.Params.assets.customCSS }}" media="screen"> +{{ end }}
\ No newline at end of file |