21 lines
362 B
HTML
21 lines
362 B
HTML
|
{{ 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}}
|