about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head-extra.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head-extra.html b/layouts/partials/head-extra.html
index 6d60ecd..e3f256f 100644
--- a/layouts/partials/head-extra.html
+++ b/layouts/partials/head-extra.html
@@ -2,3 +2,7 @@
 <link rel="icon" type="image/png" sizes="32x32" href={{ "/favicon-32x32.png" }}>
 <link rel="icon" type="image/png" sizes="16x16" href={{ "/favicon-16x16.png" }}>
 <link rel="manifest" href={{ "/site.webmanifest" }}>
+{{ $light := resources.Get "css/highlight.css" }}
+{{ $dark := resources.Get "css/highdark.css" }}
+{{ $code := slice $light $dark | resources.Concat "css/code.css" | minify | fingerprint }}
+<link rel="stylesheet" type="text/css" href="{{ $code.RelPermalink }}">