summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/taxonomy/list.html4
-rw-r--r--layouts/taxonomy/term.html4
3 files changed, 3 insertions, 7 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 }}
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" }}
<div class="mx-auto px-4 py-12 max-w-4xl">
<!-- Page title with taxonomy name -->
- <h1 class="text-4xl md:text-5xl font-bold text-accent mb-12">
- {{ i18n .Data.Plural }}
- </h1>
+ <h1 class="section-title" data-text="{{ i18n .Data.Plural }}">{{ i18n .Data.Plural }}</h1>
<!-- Articles list -->
<div class="space-y-6 max-w-3xl">
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" }}
<div class="mx-auto px-4 py-12 max-w-4xl">
<!-- Page title with taxonomy type -->
- <h1 class="text-4xl md:text-5xl font-bold text-accent mb-2">
- {{ i18n .Data.Singular }}
- </h1>
+ <h1 class="section-title" data-text="{{ i18n .Data.Singular }}">{{ i18n .Data.Singular }}</h1>
<!-- Current term heading -->
<p class="text-lg text-text-dim mb-12">