/**
 * Add <body> classes
 */
function body_class($classes)
{
    // Add page slug if it doesn't exist
    if (is_single() || is_page() && !is_front_page()) {
        if (!in_array(basename(get_permalink()), $classes)) {
            $classes[] = basename(get_permalink());
        }
    }
    // Add class if sidebar is active
    if (Setup\display_sidebar()) {
        $classes[] = 'sidebar-primary';
    }
    return $classes;
}
?>
      </div>
    <![endif]-->
    <?php 
do_action('get_header');
get_template_part('templates/header');
?>
    <div class="wrap container" role="document">
      <div class="content row">
        <main class="main">
          <?php 
include Wrapper\template_path();
?>
        </main><!-- /.main -->
        <?php 
if (Setup\display_sidebar()) {
    ?>
          <aside class="sidebar">
            <?php 
    include Wrapper\sidebar_path();
    ?>
          </aside><!-- /.sidebar -->
        <?php 
}
?>
      </div><!-- /.content -->
    </div><!-- /.wrap -->
    <?php 
do_action('get_footer');
get_template_part('templates/footer');
wp_footer();