<?php get_header() ?>

  <main class="section-wide">

    <article <?php post_class( 'article' ); ?> id="post-<?php the_ID(); ?>" itemscope itemtype="http://schema.org/CreativeWork">

      <article class="post-content entry-content" itemprop="text">

        <?php if ( get_option( 'ace_content_image' ) ) { ?>
          <figure><img src="<?php echo esc_url( get_option( 'ace_content_image' ) ); ?>" alt="<?php echo get_bloginfo('name'); ?>" class="aligncenter" /></figure>
        <?php } ?>

        <?php ace_site_content(); ?>

        <?php ace_progress(); ?>

        <footer class="footer-widgets">

          <footer class="footer-left">
            <?php if( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Left Widget' ) ) : endif; ?>
          </footer><!-- .footer-left -->
      
          <footer class="footer-right">
            <?php if( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Right Widget' ) ) : endif; ?>
          </footer><!-- footer-right -->

        </footer><!-- .footer-widgets -->

      </article><!-- .post-content -->

    </article><!-- .article -->

  </main><!-- .section -->

<?php get_footer(); ?>