<?php
/**
 * Template Name: Homepage
 * The template for displaying the homepage
 *
 * @package WordPress
 * @subpackage Edition
 * @since Edition 1.0
 */
get_header(); ?>

<?php get_template_part( TW_SECTIONS_DIR . '/sections' );  // Page sections ?>

<?php if ( have_posts() ) : the_post(); // print content if it exists ?>

    <div class="page-content">
        <div class="container">
            <div class="col-md-12">
                <?php the_content(); ?>
            </div><!-- .col-md-12 -->
        </div><!-- .container -->
    </div><!-- .page-content -->

<?php endif; ?>

<?php get_footer(); // Theme footer