diff options
Diffstat (limited to 'backend/templates/home.html')
| -rw-r--r-- | backend/templates/home.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/backend/templates/home.html b/backend/templates/home.html index 7a76e48..d574525 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -1,9 +1,17 @@ {{define "body"}} <main id="content"> <div class="introduction"> - <h1>logs</h1> + <h1>{{ .Name }}</h1> <p>{{ .PageDescription }}</p> </div> - {{ template "logs_display" . }} + <div class="sections"> + {{ range .Sections }} + <section> + <h2>{{ .Name }}</h2> + <p>{{ .Description }}</p> + {{ template "section_display" . }} + </section> + {{ end }} + </div> </main> {{end}} |
