Main content now mostly working again

This commit is contained in:
2020-07-14 19:12:24 +01:00
parent 376897b7c0
commit 55db5e1be3
6 changed files with 42 additions and 22 deletions

View File

@@ -5,11 +5,21 @@
<div class="container">
<header>
<h3>{{ .Title }}</h3>
<nav id="main-nav">
<a href="/">Home</a>
{{ $currentNode := . }}
{{ range .Site.Menus.main }}
<a href="{{.URL}}">{{.Name}}</a>
{{ end }}
</nav>
</header>
<main aria-label="Content">
<article>
{{.Content}}
</article>
<aside>
{{ .TableOfContents }}
</aside>
</main>
{{ partial "footer.html" . }}
</div>