diff options
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ <!-- Contribution graph widget --> {{ $contribScript := resources.Get "js/contribution-graph.js" | minify }} <script src="{{ $contribScript.RelPermalink }}"></script> + + <!-- Hero glitch effect (homepage only) --> + {{ if .IsHome }} + {{ $heroScript := resources.Get "js/hero-glitch.js" | minify }} + <script src="{{ $heroScript.RelPermalink }}"></script> + {{ end }} </body> </html> |
