diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
| commit | 5b476f8905f411768e23cb01d577a60e5a5fd725 (patch) | |
| tree | 0a08cc83d809dbea714f52826e822501ee7c0165 /themes/danix-xyz-hacker/assets/js/not-found-page.js | |
| parent | 082e9246ffe453031894d32d3cee9d5d1bf2b67a (diff) | |
| download | danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.tar.gz danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.zip | |
chore: extract theme into git submodule (danix2-hugo-theme)
Diffstat (limited to 'themes/danix-xyz-hacker/assets/js/not-found-page.js')
| -rw-r--r-- | themes/danix-xyz-hacker/assets/js/not-found-page.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/themes/danix-xyz-hacker/assets/js/not-found-page.js b/themes/danix-xyz-hacker/assets/js/not-found-page.js deleted file mode 100644 index 2b4f676..0000000 --- a/themes/danix-xyz-hacker/assets/js/not-found-page.js +++ /dev/null @@ -1,9 +0,0 @@ -// 404 page: initialize shared notFoundPage Alpine component -document.addEventListener('alpine:init', () => { - // Ensure search index is preloaded on 404 page - const notFoundElement = document.querySelector('[x-data*="notFoundPage"]'); - if (notFoundElement && notFoundElement.__x) { - notFoundElement.__x.$data.init(); - } - console.log('404 page initialized with shared search functionality'); -}); |
