From c3c20ab489f0065888d54b5bc51ce58881450110 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 13 May 2026 09:40:13 +0200 Subject: feat: add glitch effect to article list page H1 Add .section-title class with chromatic-aberration glitch mechanics mirroring .hero-name. Extend hero-glitch.js to target both classes independently. Load glitch script on IsHome and IsSection pages. Title styled uppercase, centered, white. Co-Authored-By: Claude Sonnet 4.6 --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 20f428d..cb17c1d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -139,7 +139,7 @@ - {{ if .IsHome }} + {{ if or .IsHome .IsSection }} {{ $heroScript := resources.Get "js/hero-glitch.js" | minify }} {{ end }} -- cgit v1.2.3