diff options
Diffstat (limited to 'backend/templates/home.html')
| -rw-r--r-- | backend/templates/home.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/backend/templates/home.html b/backend/templates/home.html index d5dbb28..d574525 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -4,12 +4,14 @@ <h1>{{ .Name }}</h1> <p>{{ .PageDescription }}</p> </div> - {{ range .Sections }} - <div> - <h2>{{ .Name }}</h2> - <p>{{ .Description }}</p> - {{ template "section_display" . }} + <div class="sections"> + {{ range .Sections }} + <section> + <h2>{{ .Name }}</h2> + <p>{{ .Description }}</p> + {{ template "section_display" . }} + </section> + {{ end }} </div> - {{ end }} </main> {{end}} |
