summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<script src="{{ $contribScript.RelPermalink }}"></script>
<!-- Hero glitch effect (homepage only) -->
- {{ if .IsHome }}
+ {{ if or .IsHome .IsSection }}
{{ $heroScript := resources.Get "js/hero-glitch.js" | minify }}
<script src="{{ $heroScript.RelPermalink }}"></script>
{{ end }}