🚸 Add home link on sub-pages
This commit is contained in:
parent
5d1f8af7d3
commit
12e035a585
@ -1283,6 +1283,10 @@ body button {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.place-self-start {
|
||||
place-self: start;
|
||||
}
|
||||
|
||||
.rounded-full {
|
||||
border-radius: 9999px;
|
||||
}
|
||||
@ -1356,6 +1360,11 @@ body button {
|
||||
color: rgba(24, 24, 27, var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.text-neutral-500 {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgba(113, 113, 122, var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.text-neutral-800 {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgba(39, 39, 42, var(--tw-text-opacity));
|
||||
|
@ -38,5 +38,8 @@ link:
|
||||
whatsapp: WhatsApp
|
||||
youtube: YouTube
|
||||
|
||||
nav:
|
||||
home: Home
|
||||
|
||||
footer:
|
||||
powered_by: "Powered by {{ .Hugo }} & {{ .Lynx }}"
|
||||
|
@ -38,5 +38,8 @@ link:
|
||||
whatsapp: WhatsApp
|
||||
youtube: YouTube
|
||||
|
||||
# nav:
|
||||
# home: Home
|
||||
|
||||
footer:
|
||||
powered_by: "Propulsé par {{ .Hugo }} & {{ .Lynx }}"
|
||||
|
@ -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">← {{ 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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user