diff options
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 }} |
