From 9c2d960a3b7728b7857ad71ed656be4a02d58599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 14:42:36 +0100 Subject: fix(backend): missing files --- backend/templates/data.html | 11 +++++++++++ backend/templates/home_section.html | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 backend/templates/data.html create mode 100644 backend/templates/home_section.html (limited to 'backend/templates') diff --git a/backend/templates/data.html b/backend/templates/data.html new file mode 100644 index 0000000..a384459 --- /dev/null +++ b/backend/templates/data.html @@ -0,0 +1,11 @@ +{{define "body"}} +
+

{{ .DataTitle }}

+

{{ .Description }}

+
+ {{ .Img.Alt }} +
{{ .Img.Legend }}
+
+ {{ .Content }} +
+{{end}} 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"}} +
+ {{ range .Sections }} +
+

{{ .Name }}

+

{{ .Description }}

+
+ {{ template "section_display" . }} {{ end }} +
+{{end}} -- cgit v1.2.3