Skip to content

Commit

Permalink
Merge pull request #29 from pawo1/404_relative_lang_url
Browse files Browse the repository at this point in the history
404 template - change the homepage link to the language relative
  • Loading branch information
tomowang authored Mar 11, 2024
2 parents 3998caa + 906c505 commit f9412e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="mt-4 text-3xl font-bold tracking-tight text-slate-800 dark:text-slate-200 sm:text-5xl">{{ T "404.page_not_found" }}</h1>
<p class="mt-6 text-base leading-7 text-slate-500 dark:text-slate-300">{{ T "404.sorry" }}</p>
<div class="mt-10 flex items-center justify-center gap-x-6">
<a href="/" class="rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
<a href={{ relLangURL "" }} class="rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
{{ T "404.go_back_home" }}
</a>
</div>
Expand Down

0 comments on commit f9412e5

Please sign in to comment.