From 47d7da6227e8354c1f48289e14970c531e7ebc56 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 13 May 2026 09:51:50 +0200 Subject: feat: add glitch effect to taxonomy list and term page H1s Extend section-title glitch to taxonomy/list.html and taxonomy/term.html. Load glitch script on taxonomy and term page kinds in baseof.html. Co-Authored-By: Claude Sonnet 4.6 --- layouts/_default/baseof.html | 2 +- layouts/taxonomy/list.html | 4 +--- layouts/taxonomy/term.html | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index cb17c1d..98ff8f8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -139,7 +139,7 @@ - {{ if or .IsHome .IsSection }} + {{ if or .IsHome .IsSection (eq .Kind "taxonomy") (eq .Kind "term") }} {{ $heroScript := resources.Get "js/hero-glitch.js" | minify }} {{ end }} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index c3a4317..5971f7b 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -1,9 +1,7 @@ {{ define "main" }}
-

- {{ i18n .Data.Plural }} -

+

{{ i18n .Data.Plural }}

diff --git a/layouts/taxonomy/term.html b/layouts/taxonomy/term.html index 1b953bc..b1d4889 100644 --- a/layouts/taxonomy/term.html +++ b/layouts/taxonomy/term.html @@ -1,9 +1,7 @@ {{ define "main" }}
-

- {{ i18n .Data.Singular }} -

+

{{ i18n .Data.Singular }}

-- cgit v1.2.3