summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 11:29:53 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 11:29:53 +0200
commit0cef9784d9367a1dcd7b72e97333bb9ae98386b1 (patch)
treed45c35ea6a992e860cca2115b7800835e5723a8f /themes/danix-xyz-hacker/layouts/_default/baseof.html
parent779e59187f9142cddbf115da070fe07922bdcd55 (diff)
downloaddanixxyz-0cef9784d9367a1dcd7b72e97333bb9ae98386b1.tar.gz
danixxyz-0cef9784d9367a1dcd7b72e97333bb9ae98386b1.zip
fix: refactor 404 page to use Alpine.data() pattern for proper function registration
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/_default/baseof.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/_default/baseof.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/baseof.html b/themes/danix-xyz-hacker/layouts/_default/baseof.html
index 10f4392..13f3fd2 100644
--- a/themes/danix-xyz-hacker/layouts/_default/baseof.html
+++ b/themes/danix-xyz-hacker/layouts/_default/baseof.html
@@ -91,6 +91,10 @@
{{ $contactScript := resources.Get "js/contact-form.js" | minify }}
<script src="{{ $contactScript.RelPermalink }}"></script>
+ <!-- 404 Not Found page script -->
+ {{ $notFoundScript := resources.Get "js/not-found-page.js" | minify }}
+ <script src="{{ $notFoundScript.RelPermalink }}"></script>
+
<!-- Reading progress bar script (on single pages/articles) -->
{{ if eq .Kind "page" }}
{{ $progressScript := resources.Get "js/reading-progress.js" | minify }}