🚸 Add home link on sub-pages

This commit is contained in:
James Panther
2021-11-06 16:54:11 +11:00
parent 5d1f8af7d3
commit 12e035a585
4 changed files with 19 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
{{ define "main" }}
<article class="flex flex-col items-center justify-center mt-10 ">
<article class="flex flex-col items-center justify-center mt-10">
<nav class="place-self-start">
<a href="{{ "/" | relURL }}" class="text-neutral-500">&larr; {{ i18n "nav.home" }}</a>
</nav>
<header>
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
{{ .Title | emojify }}