<?php
/**
 * Template Name: Home Page
 *
 * @package WPlook
 * @subpackage Charity
 * @since Charity 1.0
 */
?>

<?php get_header(); ?>

<?php get_template_part( 'inc/templates/home', 'slider' ); ?>

	<?php if ( $post->post_content != '' ) { ?>
		<section class="section-home-content">
			<div class="grid-container">
				<div class="grid-x grid-margin-x">
					<div class="cell small-12">
						<?php while ( have_posts() ) : the_post(); ?>
							<article class="single">
								<div class="entry-content">
									<?php the_content(); ?>
								</div>
								<div class="clear"></div>
							</article>
						<?php endwhile; ?>
						<div class="clear"></div>
					</div><!-- /.cell small-12 -->
				</div><!-- /.grid-x grid-margin-x -->
			</div><!-- /.grid-container -->
		</section><!-- /.section-featured -->
	<?php } // End displaying the default content ?>

	<?php if (is_active_sidebar( 'front-top') ) { ?>
		<?php if ( is_active_sidebar( 'front-top' ) ) : ?>
			<?php ! dynamic_sidebar( 'front-top' ); ?>
		<?php endif; ?>
	<?php } ?>

<?php get_footer(); ?>
