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/simple.html | |
| parent | 270f592fc65cd5553ccf7c0dc81431c3efdf67ab (diff) | |
feat(frontend): use htmx to dynamically navigate between pages
Diffstat (limited to 'backend/templates/simple.html')
| -rw-r--r-- | backend/templates/simple.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/templates/simple.html b/backend/templates/simple.html index dd00397..7b4f6d3 100644 --- a/backend/templates/simple.html +++ b/backend/templates/simple.html @@ -1 +1,5 @@ -{{ define "body" }}{{ .Content }}{{ end }} +{{ define "body" }} +<main id="content"> +{{ .Content }} +</main> +{{ end }} |
