Use the right entry page
This commit is contained in:
parent
b5dd82fe2a
commit
e3c9ce98b8
@ -31,7 +31,7 @@ class Generator
|
|||||||
$params['theme'] = DauxHelper::getTheme($params, $base_url);
|
$params['theme'] = DauxHelper::getTheme($params, $base_url);
|
||||||
|
|
||||||
$params['image'] = str_replace('<base_url>', $base_url, $params['image']);
|
$params['image'] = str_replace('<base_url>', $base_url, $params['image']);
|
||||||
if ($base_url !== '') {
|
if ($base_url !== '' && empty($params['entry_page'])) {
|
||||||
$params['entry_page'] = $tree->getFirstPage();
|
$params['entry_page'] = $tree->getFirstPage();
|
||||||
}
|
}
|
||||||
foreach ($tree->value as $key => $node) {
|
foreach ($tree->value as $key => $node) {
|
||||||
|
Loading…
Reference in New Issue
Block a user