fix(webui): correct layout rendering; select content template by name and include via layout; fix navbar/footer appearance
This commit is contained in:
parent
3ed38031be
commit
ab11490807
4 changed files with 12 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{ define "content" }}
|
||||
{{ define "dashboard" }}
|
||||
<main class="container">
|
||||
<aside class="sidebar">
|
||||
<nav id="chanlist"></nav>
|
||||
|
|
@ -8,5 +8,5 @@
|
|||
</section>
|
||||
</main>
|
||||
{{ end }}
|
||||
{{ template "layout.tmpl" . }}
|
||||
{{/* layout executes us via .Content */}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue