From c5078a2adf338703d7b7a3d62e6594fe2831bc5d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 11 May 2026 11:32:35 +0200 Subject: feat: hero name glitch effect on homepage Chromatic aberration glitch on h1.hero-name. Gravatar moved from markdown shortcode to template. JS fires randomly every 4-11s. Respects prefers-reduced-motion. Co-Authored-By: Claude Sonnet 4.6 --- layouts/_default/baseof.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3736a9f..20f428d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -137,5 +137,11 @@ {{ $contribScript := resources.Get "js/contribution-graph.js" | minify }} + + + {{ if .IsHome }} + {{ $heroScript := resources.Get "js/hero-glitch.js" | minify }} + + {{ end }} -- cgit v1.2.3