diff options
| author | William Hergès <william@herges.fr> | 2026-01-16 22:05:19 +0100 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2026-01-16 22:05:19 +0100 |
| commit | 6ab3a7bd5640623aeb7847f1eb2f1077d8e777f3 (patch) | |
| tree | 87ace5305cbf4aefc67fdbe407ae94e673845c45 /backend/templates/home_section.html | |
| parent | f67c350197e1c46887baf67398445e2b47a8f067 (diff) | |
style(html): use prettier plugin for go html
Diffstat (limited to 'backend/templates/home_section.html')
| -rw-r--r-- | backend/templates/home_section.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/backend/templates/home_section.html b/backend/templates/home_section.html index cf7595d..1101843 100644 --- a/backend/templates/home_section.html +++ b/backend/templates/home_section.html @@ -1,10 +1,11 @@ -{{define "body"}} -<main id="content"> - {{ range .Sections }} - <div class="introduction"> - <h1>{{ .Name }}</h1> - <p>{{ .Description }}</p> - </div> - {{ template "section_display" . }} {{ end }} -</main> -{{end}} +{{ define "body" }} + <main id="content"> + {{ range .Sections }} + <div class="introduction"> + <h1>{{ .Name }}</h1> + <p>{{ .Description }}</p> + </div> + {{ template "section_display" . }} + {{ end }} + </main> +{{ end }} |
