|
|
@ -136,6 +136,7 @@ class Render
|
|
|
|
'archives' => $archive,
|
|
|
|
'archives' => $archive,
|
|
|
|
'info' => $this->pageInfo,
|
|
|
|
'info' => $this->pageInfo,
|
|
|
|
'menu' => $this->menu,
|
|
|
|
'menu' => $this->menu,
|
|
|
|
|
|
|
|
'media' => [['file' => $this->pageInfo['image'], 'type' => trim(pathinfo($this->pageInfo['image'], PATHINFO_EXTENSION))]],
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
$html = $this->twig->render($template, $pageOptions);
|
|
|
|
$html = $this->twig->render($template, $pageOptions);
|
|
|
@ -154,6 +155,7 @@ class Render
|
|
|
|
'tag_list' => $item['pages'],
|
|
|
|
'tag_list' => $item['pages'],
|
|
|
|
'info' => $this->pageInfo,
|
|
|
|
'info' => $this->pageInfo,
|
|
|
|
'menu' => $this->menu,
|
|
|
|
'menu' => $this->menu,
|
|
|
|
|
|
|
|
'media' => [['file' => $this->pageInfo['image'], 'type' => trim(pathinfo($this->pageInfo['image'], PATHINFO_EXTENSION))]],
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
$html = $this->twig->render($template, $pageOptions);
|
|
|
|
$html = $this->twig->render($template, $pageOptions);
|
|
|
|