<?php
/**
 * Template Name: Sidebar right
 */
get_header(); ?>

  <div class="container">
    <div class="row">

      <div class="col-sm-8 col-md-9">
        <main class="main-column">
          <div class="content-padding">
            <?php
            // Start the loop.
            while ( have_posts() ) : the_post();

              // Include the page content template.
              get_template_part( 'content', 'page' );

              // End the loop.
            endwhile;
            ?>
          </div>
        </main>
      </div>

      <div class="sidebar sidebar-secondary col-sm-4 col-md-3">
        <?php dynamic_sidebar( 'sidebar-secondary' ); ?>
      </div>

    </div>
  </div>
<?php get_footer(); ?>