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
|
// 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>';
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
|
|
Loading…
Reference in New Issue