I met the wonderful Bludit this week and fell in love with its simplicity, and the power it offers.
I am finishing my site and set up exclusively with bludit.
My doubt is... I have "default" pages and static pages. However, each has a different template CSS.
I am separating this into the index of my theme, like this:
Code: Select all
if ($WHERE_AM_I == 'page') {
if ($page->type() == 'static'){
include(THEME_DIR_PHP.'static.php');
} else {
include(THEME_DIR_PHP.'page.php');
}
} else if ($WHERE_AM_I == 'category') {
include(THEME_DIR_PHP.'blog.php');
} else {
include(THEME_DIR_PHP.'home.php');
}
Thank you so much, and thanks for this amazing tool.