File: /homepages/16/d176908298/htdocs/dev/wdev/wp-content/themes/travel-blogger/index.php
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage TravelBlogger
* @since TravelBlogger Theme 1.0
*/
get_header(); ?>
<div id="yui-main">
<div class="yui-b">
<div id="content" class="main-content hfeed list rounded">
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
if (is_home() && $paged < 1) {
get_template_part( 'loop', 'home' );
} else {
get_template_part( 'loop', 'index' );
}
?>
</div><!-- /.main-content -->
<?php get_sidebar('secondary'); ?>
</div><!--yui-b-main-->
</div><!--yui-main-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>