fix: Correct partial syntax to load pageslist.html
parent
465fb8ae01
commit
51447b0ca1
|
@ -10,7 +10,7 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
{{ partial "pageslist.html" }}
|
||||
{{ partial "pageslist.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<hr>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
{{ partial "pageslist.html" }}
|
||||
{{ partial "pageslist.html" . }}
|
||||
<hr>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ if $.Params.enabletoc }}
|
||||
|
|
Reference in New Issue