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