hugohm/layouts/yearhome/section.html

21 lines
362 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
{{ .TableOfContents }}
{{ .Content }}
{{ end }}
{{ define "sidebar_menu" }}
<ul>
{{ range .Pages }}
<li><a href="{{ .Permalink }}">{{.Title}}</a></li>
{{ end }}
</ul>
<hr>
<ul>
{{ range .Parent.Pages }}
<li><a href="{{ .Permalink }}">{{.Title}}</a></li>
{{ end }}
</ul>
{{ end}}