fix for incorrect page rendering

there was a generic place holder that defaulted to the default page
template to render pages. that's been fixed so it refers to the pages
layout to know what template to use
This commit is contained in:
RXP 2025-02-04 15:58:50 -06:00
parent 5d74aafc9b
commit 44b8e9b5ad
Signed by: ro
GPG key ID: 976711B5057688B7

View file

@ -108,7 +108,7 @@ class RenderService
$template;
$page['layout'] == 'index' ?
$template = $this->theme . '.index' :
$template = $this->theme . '.page';
$template = $this->theme . '.' . $page['layout'];
$pageData = $this->sort->page($page, false);