<?php /* Template Name: Homepage IGA  */ ?>
<?php get_header(); ?>

    <section role="main">
        <div id="content">
            <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
                <?= the_content(); ?>
            <?php endwhile; endif; ?>

            <?php if(get_theme_mod('has_newsletter') == 'yes') { ?>            	
            
            <div class="mailing-list-wrap">
            	<div class="container">
            		<a href="/my-account#!/create"><div class="title"><?= get_theme_mod('newsletter_title') ?></div></a>
            		<div id="mailing-list-sign-up" class="mailing-list"></div>
            	</div>
            </div>

        	<?php } ?>
        </div>
    </section>

<?php get_footer(); ?>