<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the "site-content" div and all content after.
 *
 */
?>

</div><!-- .site-content -->
</div><!-- #content -->

<footer class="site-footer">

  <div class="row-footer-blocks">
    <div class="container">
      <?php dynamic_sidebar( 'footer-blocks' ); ?>
    </div>
  </div>

  <div class="row-copyright">
    <div class="container">
      <nav class="nav-primary">
        <?php wp_nav_menu( array(
          'menu'       => 'Primary',
          'menu_class' => 'main-menu clearfix',
          'depth' => 1
        ) );
        ?>
      </nav>
      <div class="copyright">
        <?php echo show_text_block( 'copyright', TRUE ); ?>
      </div>
    </div>
  </div>


</footer><!-- .site-footer -->

<span id="back_to_top"><i class="fa fa-angle-up"></i></span>

</div><!-- .site -->

<?php wp_footer(); ?>

</body>
</html>
