diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-01-29 07:54:19 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-01-29 07:54:19 +0100 |
| commit | d392cc63f7e4d63a999db1fd551709452bfbe8b4 (patch) | |
| tree | 3406213215382cbb7029e4fc27512009ab253474 /layouts/partials/head/styles.html | |
| parent | 787d515c7aef945ce40278d51dd9a0900726561e (diff) | |
CSS reset
Diffstat (limited to 'layouts/partials/head/styles.html')
| -rw-r--r-- | layouts/partials/head/styles.html | 6 |
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 -}} |
