diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-13 09:51:50 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-13 09:51:50 +0200 |
| commit | 47d7da6227e8354c1f48289e14970c531e7ebc56 (patch) | |
| tree | 95023ccdbdcef4a850576f0d0a9b3e157c2075df /layouts/_default/baseof.html | |
| parent | 90d033f00eebfbe02a2a8913ed8f2cdc3d06be37 (diff) | |
| download | danixxyz-theme-47d7da6227e8354c1f48289e14970c531e7ebc56.tar.gz danixxyz-theme-47d7da6227e8354c1f48289e14970c531e7ebc56.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <script src="{{ $contribScript.RelPermalink }}"></script> <!-- Hero glitch effect (homepage only) --> - {{ if or .IsHome .IsSection }} + {{ if or .IsHome .IsSection (eq .Kind "taxonomy") (eq .Kind "term") }} {{ $heroScript := resources.Get "js/hero-glitch.js" | minify }} <script src="{{ $heroScript.RelPermalink }}"></script> {{ end }} |
