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
|
|
@ -19,7 +19,11 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
{{ block "content" . }}{{ end }}
|
||||
{{ if eq .Content "dashboard" }}
|
||||
{{ template "dashboard" . }}
|
||||
{{ else if eq .Content "summarizer" }}
|
||||
{{ template "summarizer" . }}
|
||||
{{ end }}
|
||||
<footer><small>{{ .Version }} ({{ .Commit }})</small></footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue