aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/home.html
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-27 16:32:58 +0000
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-27 16:32:58 +0000
commitdb0b5c34432b4c0135af8c5c885fd6ad348c3691 (patch)
tree8f38b973a8dd3fc22bbd28498004940451621b41 /backend/templates/home.html
parent7bd309f3ca44930c5207b94acc2d425b24d4b369 (diff)
parent1e2ad3a8f8cd2c12786b92210616325a33d1b209 (diff)
Merge pull request '[Feat] Custom sections' (#1) from feat/custom-sections into main
Reviewed-on: https://git.anhgelus.world/anhgelus/small-web/pulls/1
Diffstat (limited to 'backend/templates/home.html')
-rw-r--r--backend/templates/home.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/backend/templates/home.html b/backend/templates/home.html
index 7a76e48..d574525 100644
--- a/backend/templates/home.html
+++ b/backend/templates/home.html
@@ -1,9 +1,17 @@
{{define "body"}}
<main id="content">
<div class="introduction">
- <h1>logs</h1>
+ <h1>{{ .Name }}</h1>
<p>{{ .PageDescription }}</p>
</div>
- {{ template "logs_display" . }}
+ <div class="sections">
+ {{ range .Sections }}
+ <section>
+ <h2>{{ .Name }}</h2>
+ <p>{{ .Description }}</p>
+ {{ template "section_display" . }}
+ </section>
+ {{ end }}
+ </div>
</main>
{{end}}