Remove default homepage
This commit is contained in:
parent
d33ea370d0
commit
e76d9ff651
|
@ -5,10 +5,12 @@
|
|||
// ============================================================================
|
||||
|
||||
$plugins = array(
|
||||
'siteHead'=>array(), // <html><head>HERE</head><body>...</body></html>
|
||||
'siteBodyBegin'=>array(), // <html><head>...</head><body>HERE...</body></html>
|
||||
'siteBodyEnd'=>array(), // <html><head>...</head><body>...HERE</body></html>
|
||||
'siteSidebar'=>array(), // <html><head>...</head><body>...<sidebar>HERE</sidebar>...</body></html>
|
||||
'siteHead'=>array(),
|
||||
'siteBodyBegin'=>array(),
|
||||
'siteBodyEnd'=>array(),
|
||||
'siteSidebar'=>array(),
|
||||
'beforeSiteLoad'=>array(),
|
||||
'afterSiteLoad'=>array(),
|
||||
|
||||
'pageBegin'=>array(),
|
||||
'pageEnd'=>array(),
|
||||
|
@ -24,12 +26,6 @@ $plugins = array(
|
|||
'loginBodyBegin'=>array(),
|
||||
'loginBodyEnd'=>array(),
|
||||
|
||||
'beforeSiteLoad'=>array(),
|
||||
'afterSiteLoad'=>array(),
|
||||
'beforePostsLoad'=>array(),
|
||||
'afterPostsLoad'=>array(),
|
||||
'beforePagesLoad'=>array(),
|
||||
'afterPagesLoad'=>array(),
|
||||
'all'=>array()
|
||||
);
|
||||
|
||||
|
|
|
@ -46,6 +46,8 @@ class pluginPages extends Plugin {
|
|||
}
|
||||
|
||||
foreach($parents as $parent)
|
||||
{
|
||||
if($Site->homepage()!==$parent->key())
|
||||
{
|
||||
// Print the parent
|
||||
$html .= '<li><a class="parent" href="'.$parent->permalink().'">'.$parent->title().'</a></li>';
|
||||
|
@ -64,6 +66,7 @@ class pluginPages extends Plugin {
|
|||
$html .= '</ul></li>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$html .= '</ul>';
|
||||
$html .= '</div>';
|
||||
|
|
Loading…
Reference in New Issue