diff --git a/layouts/partials/findFirstInNextSection.html b/layouts/partials/findFirstInNextSection.html index 26834e793..6c2e113a1 100644 --- a/layouts/partials/findFirstInNextSection.html +++ b/layouts/partials/findFirstInNextSection.html @@ -1,9 +1,13 @@ {{ if ne .Parent.CurrentSection .Parent.FirstSection }} {{ with .}} +{{ if eq .Params._build.render false }} +{{ partial "findFirstInNextSection" (index .Pages 0)}} +{{ else }} {{ end }} +{{ end }} {{ end }} \ No newline at end of file