From d392cc63f7e4d63a999db1fd551709452bfbe8b4 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 29 Jan 2026 07:54:19 +0100 Subject: CSS reset --- layouts/partials/head/styles.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'layouts/partials') 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 */}} @@ -13,6 +15,6 @@ document.addEventListener('DOMContentLoaded', function () { {{- if eq hugo.Environment "development" -}} {{- else -}} - {{- $styles := $styles | minify | fingerprint | resources.PostProcess -}} + {{- $styles := $styles | minify | fingerprint -}} {{- end -}} -- cgit v1.3