diff options
Diffstat (limited to 'themes/danix-xyz-hacker/layouts')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/404.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/themes/danix-xyz-hacker/layouts/404.html b/themes/danix-xyz-hacker/layouts/404.html index 341f90b..6ed4892 100644 --- a/themes/danix-xyz-hacker/layouts/404.html +++ b/themes/danix-xyz-hacker/layouts/404.html @@ -1,10 +1,5 @@ {{ define "main" }} -<!-- Detect language from current URL --> -<script> -window.currentLang = window.location.pathname.startsWith('/it/') ? 'it' : 'en'; -</script> - <!-- Pass articles data to JavaScript for Alpine.js --> <script> window.articlesData = [ @@ -81,14 +76,14 @@ window.articlesData = [ </div> <!-- Navigation Links --> - <div class="space-y-4 flex flex-col items-center mb-12" x-data="notFoundNav()"> - <a :href="homeLink" @click.prevent="goHome()" class="btn btn-primary"> + <div class="space-y-4 flex flex-col items-center mb-12"> + <a href="/" class="btn btn-primary"> {{ i18n "goHome" }} </a> - <a :href="articlesLink" @click.prevent="goArticles()" class="btn btn-secondary"> + <a href="/articles/" class="btn btn-secondary"> {{ i18n "browseArticles" }} </a> - <a :href="contactLink" @click.prevent="goContact()" class="btn btn-outline"> + <a href="/is/here/" class="btn btn-outline"> {{ i18n "contactSupport" }} </a> </div> |
