14 lines
497 B
PHP
14 lines
497 B
PHP
|
<?php
|
||
|
// Bludit content are pages
|
||
|
// But if you order the content by date
|
||
|
// These pages works as posts
|
||
|
|
||
|
// $WHERE_AM_I variable detect where the user is browsing
|
||
|
// If the user is watching a particular page/post the variable takes the value "page"
|
||
|
// If the user is watching the frontpage the variable takes the value "home"
|
||
|
if ($WHERE_AM_I == 'page') {
|
||
|
include(THEME_DIR_PHP.'meta/page.php');
|
||
|
} else {
|
||
|
include(THEME_DIR_PHP.'meta/home.php');
|
||
|
}
|
||
|
?>
|