aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head')
-rw-r--r--layouts/partials/head/styles.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/head/styles.html b/layouts/partials/head/styles.html
index 03f336b..6f6c5b0 100644
--- a/layouts/partials/head/styles.html
+++ b/layouts/partials/head/styles.html
@@ -1,5 +1,7 @@
{{/* Resources */}}
-{{- $styles := resources.Get "css/main.css" -}}
+{{- $reset := resources.Get "css/reset.css" -}}
+{{- $main := resources.Get "css/main.css" -}}
+{{- $styles := slice $reset $main | resources.Concat "css/bundle.css" -}}
{{/* MathJax */}}
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
@@ -13,6 +15,6 @@ document.addEventListener('DOMContentLoaded', function () {
{{- if eq hugo.Environment "development" -}}
<link rel="stylesheet" href="{{ $styles.Permalink | absURL }}" />
{{- else -}}
- {{- $styles := $styles | minify | fingerprint | resources.PostProcess -}}
+ {{- $styles := $styles | minify | fingerprint -}}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" />
{{- end -}}