From d8f175907a90bf23529d781e40437296de271dfd Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 7 Aug 2017 20:30:14 +0200 Subject: [PATCH] Minor changes --- bl-themes/lingonberry/index.php | 73 ++++++++++++++------------------- 1 file changed, 31 insertions(+), 42 deletions(-) diff --git a/bl-themes/lingonberry/index.php b/bl-themes/lingonberry/index.php index d8263020..ebb992a9 100644 --- a/bl-themes/lingonberry/index.php +++ b/bl-themes/lingonberry/index.php @@ -4,29 +4,23 @@ - + '; - } - else - { - if( $Page->status() == "fixed" ) - { + if($WHERE_AM_I == 'page') { + if( $Page->status() == "fixed" ) { echo ''; } - elseif( $Page->status() == "published" ) - { + elseif( $Page->status() == "published" ) { echo ''; - } + } + } else { + echo ''; } ?> - - + - +
- - - + + +

title() ?>

- + - +
- + status() == "fixed" ) - { + if($WHERE_AM_I == 'page') { + if( $Page->status() == "fixed" ) { include(THEME_DIR_PHP.'page.php'); } - elseif( $Page->status() == "published" ) - { + elseif( $Page->status() == "published" ) { include(THEME_DIR_PHP.'post.php'); } + } else { + include(THEME_DIR_PHP.'home.php'); } ?> - + - +
- +

footer() ?>

- +

Lingonberry by Anders Noren — Proudly Powered by BluditUp ↑

@@ -99,15 +88,15 @@
- + - + - + \ No newline at end of file