From 51964e1d9fd81d11b35a59326a37b01d37b707aa Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Mon, 18 May 2026 21:46:58 -0700 Subject: [PATCH] Add fingerprinting and integrity to custom CSS Signed-off-by: Danila Fedorin --- layouts/_partials/spiderweb.html | 3 ++- layouts/_shortcodes/donate_css.html | 4 ++-- layouts/_shortcodes/gmachine_css.html | 4 ++-- layouts/_shortcodes/stack_css.html | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/layouts/_partials/spiderweb.html b/layouts/_partials/spiderweb.html index 691577f..2c95965 100644 --- a/layouts/_partials/spiderweb.html +++ b/layouts/_partials/spiderweb.html @@ -1,3 +1,4 @@ - + {{ $spiderweb := resources.Get "svg/spiderweb.svg" | resources.Fingerprint }} + diff --git a/layouts/_shortcodes/donate_css.html b/layouts/_shortcodes/donate_css.html index 87f2b2c..cbd9df1 100644 --- a/layouts/_shortcodes/donate_css.html +++ b/layouts/_shortcodes/donate_css.html @@ -1,2 +1,2 @@ -{{ $style := resources.Get "scss/donate.scss" | css.Sass | resources.Minify }} - +{{ $style := resources.Get "scss/donate.scss" | css.Sass | resources.Minify | resources.Fingerprint }} + diff --git a/layouts/_shortcodes/gmachine_css.html b/layouts/_shortcodes/gmachine_css.html index ed92ef6..2a2bea7 100644 --- a/layouts/_shortcodes/gmachine_css.html +++ b/layouts/_shortcodes/gmachine_css.html @@ -1,2 +1,2 @@ -{{ $style := resources.Get "scss/gmachine.scss" | css.Sass | resources.Minify }} - +{{ $style := resources.Get "scss/gmachine.scss" | css.Sass | resources.Minify | resources.Fingerprint }} + diff --git a/layouts/_shortcodes/stack_css.html b/layouts/_shortcodes/stack_css.html index 46ffd63..2ab903a 100644 --- a/layouts/_shortcodes/stack_css.html +++ b/layouts/_shortcodes/stack_css.html @@ -1,2 +1,2 @@ -{{ $style := resources.Get "scss/stack.scss" | css.Sass | resources.Minify }} - +{{ $style := resources.Get "scss/stack.scss" | css.Sass | resources.Minify | resources.Fingerprint }} +