summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/header.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index dd941ec..95d2182 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -15,8 +15,10 @@
<meta name="author" content="{{ .Site.Params.author }}">
{{- end }}
<!-- Styles -->
- <link href="{{ "an-old-hope.min.css" | absURL }}" rel="stylesheet">
- <link href="{{ "style.css" | absURL }}" rel="stylesheet">
+ {{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
+ {{ $style := resources.Get "style.css" | minify }}
+ {{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify }}
+ <link href="{{ $stylesheet.Permalink }}" rel="stylesheet">
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
<!-- Favicons -->
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">