This commit is contained in:
Diego Najar 2017-12-28 20:10:56 +01:00
parent 06a80db3cc
commit 2097847b7a

View File

@ -51,7 +51,7 @@ class pluginStaticPages extends Plugin {
$html .= '<ul>';
// Show Home page link
if( $this->getValue('homeLink') ) {
if ($this->getValue('homeLink')) {
$html .= '<li>';
$html .= '<a href="'.$Site->url().'">';
$html .= $Language->get('Home page');
@ -60,7 +60,7 @@ class pluginStaticPages extends Plugin {
}
// Get keys of pages
foreach($keys as $pageKey) {
foreach ($pages as $pageKey) {
// Create the page object from the page key
$page = buildPage($pageKey);
$html .= '<li>';