diff options
| author | William Hergès <william@herges.fr> | 2025-10-03 18:40:45 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-03 18:40:45 +0200 |
| commit | 0de89e6bc6a467b2cc4261ae65464f40119cc0ff (patch) | |
| tree | 47ca3e894444950152b3ba0cf587f713d5aa7eaa /backend/templates/base.html | |
| parent | 270f592fc65cd5553ccf7c0dc81431c3efdf67ab (diff) | |
feat(frontend): use htmx to dynamically navigate between pages
Diffstat (limited to 'backend/templates/base.html')
| -rw-r--r-- | backend/templates/base.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html index 68d3f8d..fec24ef 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -28,14 +28,14 @@ <header> <img src="{{ static .Logo.Header }}" alt="Logo"> <nav> - {{ range .Links }}<a href="{{ .URL }}">{{ .Name }}</a>{{end}} + {{ range .Links }} + <a href="{{ .URL }}"> + {{ .Name }} + </a> + {{end}} </nav> </header> -{{ if .Article }} -<main>{{ template "body" . }}</main> -{{ else }} -<article>{{ template "body" . }}</article> -{{ end }} +{{ template "body" . }} <footer> <p>© 2025 - Anhgelus Morthuuzh</p> <p>« {{ .Quote }} »</p> |
