Move paige_show_full_pages logic to list layout
parent
607b57bb5f
commit
b77fcbccc6
@ -1,4 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
{{ if not .Params.paige_show_full_pages }}
|
||||||
{{ partial "paige-main.html" . }}
|
{{ partial "paige-main.html" . }}
|
||||||
|
{{ end }}
|
||||||
{{ partial "paige-pages.html" . }}
|
{{ partial "paige-pages.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue