Fix homepage getter
This commit is contained in:
parent
f3d472363d
commit
b6c8b567fc
@ -87,7 +87,7 @@ class MarkdownPage extends SimplePage
|
|||||||
$entry_page[$name] = $params['base_page'] . $params['entry_page'][$key]->getUrl();
|
$entry_page[$name] = $params['base_page'] . $params['entry_page'][$key]->getUrl();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUri();
|
$entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUrl();
|
||||||
}
|
}
|
||||||
} elseif ($params['file_uri'] === 'index') {
|
} elseif ($params['file_uri'] === 'index') {
|
||||||
$entry_page[$params['entry_page']->title] = $params['base_page'] . $params['entry_page']->getUrl();
|
$entry_page[$params['entry_page']->title] = $params['base_page'] . $params['entry_page']->getUrl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user