aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates/base.html')
-rw-r--r--backend/templates/base.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html
index cf0d834..3af37f9 100644
--- a/backend/templates/base.html
+++ b/backend/templates/base.html
@@ -27,15 +27,13 @@
<body hx-push-url="true">
<header>
<img src="{{ static .Logo.Header }}" alt="Logo">
- <nav>
- {{ range .Links }}<a href="{{ .URL }}">{{ .Name }}</a>{{end}}
- </nav>
+ <nav>{{ range .Links }}{{ .Render }}{{end}}</nav>
</header>
{{ template "body" . }}
<footer>
<p>&copy; 2025 - Anhgelus Morthuuzh</p>
<p id="quote">«&thinsp;{{ .Quote }}&thinsp;»</p>
- <p><a href="/legal">Mentions légales</a>, <a href="https://git.anhgelus.world/anhgelus/small-web">code source</a>.</p>
+ <p><a href="/legal">Mentions légales</a>, <a href="https://git.anhgelus.world/anhgelus/small-web" target="_blank" rel="noreferrer">code source</a>.</p>
</footer>
{{ $script := asset "index.js" }}<script src="{{ $script.Src }}" integrity="{{ $script.Checksum }}" defer></script>
</body>