<?php
/**
 * @version   1.23 January 15, 2012
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
// no direct access
?>

<?php global $post, $posts, $query_string; ?>
<?php 
if (is_home()){
 $blog_style = $gantry->get('blog-categoryblogstyle');

    $custom_page_title = $gantry->get('blog-categorytitle');
    $custom_page_decs = $gantry->get('blog-categorydesc');
}
?>

<div class="rt-wordpress">
    <div class="rt-blog">
        
        <?php if (($blog_style == 'blog2s' || $blog_style == 'blog2b') && ($custom_page_title || $custom_page_decs ) ) { ?>
                <?php if (strlen($custom_page_title)>0 || strlen($custom_page_decs)>0){ ?>
		 <div class="rt-blog-description-2">
		<?php if (strlen($custom_page_title)>0 ){ ?>
                    <h2><?php echo $custom_page_title; ?></h2>
		<?php } ?>
		<?php if (strlen($custom_page_decs)>0){ ?>
                    <p><?php echo $custom_page_decs; ?></p>
		<?php } ?>
                </div>
		<?php } ?>

            <?php } ?>
        
        
        
<?php include "templates/blog/" . $blog_style . ".php"; ?>  
    </div>
</div>