hugohm/layouts/nodos/section.html

18 lines
332 B
HTML

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