Fix on Static pages plugin
This commit is contained in:
parent
639ecca509
commit
3a568b711d
|
@ -61,13 +61,11 @@ class pluginStaticPages extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show static pages
|
// Show static pages
|
||||||
if ($this->getValue('staticPages')) {
|
$staticPages = buildStaticPages();
|
||||||
$staticPages = buildStaticPages();
|
foreach ($staticPages as $page) {
|
||||||
foreach ($staticPages as $page) {
|
$html .= '<li>';
|
||||||
$html .= '<li>';
|
$html .= '<a href="' . $page->permalink() . '">' . $page->title() . '</a>';
|
||||||
$html .= '<a href="' . $page->permalink() . '">' . $page->title() . '</a>';
|
$html .= '</li>';
|
||||||
$html .= '</li>';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= '</ul>';
|
$html .= '</ul>';
|
||||||
|
|
Loading…
Reference in New Issue