aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/home_section.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_section.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_section.html')
-rw-r--r--backend/templates/home_section.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/templates/home_section.html b/backend/templates/home_section.html
new file mode 100644
index 0000000..cf7595d
--- /dev/null
+++ b/backend/templates/home_section.html
@@ -0,0 +1,10 @@
+{{define "body"}}
+<main id="content">
+ {{ range .Sections }}
+ <div class="introduction">
+ <h1>{{ .Name }}</h1>
+ <p>{{ .Description }}</p>
+ </div>
+ {{ template "section_display" . }} {{ end }}
+</main>
+{{end}}