2023-03-31 22:14:22 +00:00
|
|
|
{{ define "main" }}
|
2024-03-10 16:33:41 +00:00
|
|
|
<div class="content-with-side-menu">
|
|
|
|
<main class="page-container">
|
|
|
|
{{ $listtitle := .Title }}
|
|
|
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
|
|
|
|
|
|
|
<nav class="sticky-nav">
|
|
|
|
<ul>
|
|
|
|
{{ range .Pages }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .RelPermalink }}">{{.Title }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2023-07-14 09:57:56 +00:00
|
|
|
|
2024-03-10 16:33:41 +00:00
|
|
|
{{ if .Content }}
|
|
|
|
<div>
|
|
|
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
2023-07-14 09:57:56 +00:00
|
|
|
</div>
|
2023-03-31 22:14:22 +00:00
|
|
|
{{ end }}
|
|
|
|
|