fix: Correct partial syntax to load pageslist.html

main
earnest ma 2021-11-30 21:52:50 -05:00
parent 465fb8ae01
commit 51447b0ca1
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
{{ end }} {{ end }}
</ul> </ul>
{{ else }} {{ else }}
{{ partial "pageslist.html" }} {{ partial "pageslist.html" . }}
{{ end }} {{ end }}
<hr> <hr>

View File

@ -1,5 +1,5 @@
{{ define "main" }} {{ define "main" }}
{{ partial "pageslist.html" }} {{ partial "pageslist.html" . }}
<hr> <hr>
<h2>{{ .Title }}</h2> <h2>{{ .Title }}</h2>
{{ if $.Params.enabletoc }} {{ if $.Params.enabletoc }}