I found out there were some end div tags in the footer that didn't apply to
the blog, jut the content pages. I changed the footer and moved the end
main and div tags and moved them into the right files.
</div>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
-s<?php get_footer(); ?>
+</main><!--End of main-->
+<?php get_footer(); ?>
- </main><!--End of main-->
- </div><!--/#content-wrapper-->
- </div><!--/.row container-->
+
<footer>
<?php if (is_active_sidebar('sidebar-f')) :?>
<?php dynamic_sidebar('sidebar-f');?>
<div id="block-wrap" class="row collapse">
<?php get_template_part('parts/glm-blocks'); ?>
</div>
+ </main><!--End of main-->
+</div><!--/#content-wrapper-->
+</div><!--/.row container-->
<?php get_footer(); ?>
<?php endif;?>
</div>
<?php get_template_part('parts/blog-sidebar-r'); ?>
+ </div>
+</main><!--End of main-->
<?php get_footer(); ?>
<?php get_template_part('parts/content-section'); ?>
</div>
</div>
+ </main><!--End of main-->
+ </div><!--/#content-wrapper-->
+</div><!--/.row container-->
<?php get_template_part('parts/blog-sidebar-r'); ?>
<?php } ?>
</div>
+</main><!--End of main-->
<?php get_footer(); ?>