<?php 
/* Template Name: HomePage */ 

get_header();

?>

<main id="content">
    <div class="container">
      	<div class="row">
			<div class="<?php if( !is_active_sidebar('sidebar-1')) { echo "col-lg-12"; } else { echo "col-lg-9"; } ?> col-md-9">
        		<div class="single-content-container">
					<div class="row">
						<div class="col-lg-12">
							<div class="page-content">
									<?php get_template_part( 'slider' ); ?>
									<?php get_template_part( 'go-shopping' ); ?>
									<?php get_template_part( 'products' ); ?>
							</div>
						</div>
					</div>	
				</div>	
			</div>
			<!--Sidebar Area-->
			<aside class="col-md-3 col-lg-3">
				<?php get_sidebar(); ?>
			</aside>
			<!--Sidebar Area-->
		</div>
	</div>
</main>


<?php
	get_footer();
?>



