Parents by key

This commit is contained in:
Diego Najar 2017-07-23 00:25:20 +02:00
parent df30ff1812
commit 219bee0b5f
3 changed files with 6 additions and 6 deletions

View File

@ -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' ) {

View File

@ -100,6 +100,10 @@ blockquote {
margin: 0;
}
div.edit-this-page {
text-align: right;
}
/* ------------------------
Content / Main
------------------------ */

View File

@ -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 -->