Parents by key
This commit is contained in:
parent
df30ff1812
commit
219bee0b5f
@ -100,7 +100,7 @@ if( $dbPages->scheduler() ) {
|
||||
}
|
||||
|
||||
// Generate pages parent tree, only published pages
|
||||
//buildPagesByParent(true);
|
||||
buildPagesByParent(true);
|
||||
|
||||
// Set home page is the user defined one
|
||||
if( $Site->homepage() && $Url->whereAmI()==='home' ) {
|
||||
|
@ -100,6 +100,10 @@ blockquote {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.edit-this-page {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* ------------------------
|
||||
Content / Main
|
||||
------------------------ */
|
||||
|
@ -22,11 +22,7 @@
|
||||
|
||||
<!-- Content -->
|
||||
<?php
|
||||
if($WHERE_AM_I=='page') {
|
||||
include(THEME_DIR_PHP.'page.php');
|
||||
} else {
|
||||
include(THEME_DIR_PHP.'home.php');
|
||||
}
|
||||
include(THEME_DIR_PHP.'page.php');
|
||||
?>
|
||||
|
||||
<!-- Footer -->
|
||||
|
Loading…
Reference in New Issue
Block a user