<?php
if ( is_page_template( 'templates/full-width.php' ) ) {
	return;
}
if ( is_active_sidebar( 'primary' ) ) : ?>
	<aside class="sidebar sidebar-primary" id="sidebar-primary" role="complementary">
		<h1 class="screen-reader-text">Sidebar</h1>
		<?php dynamic_sidebar( 'primary' ); ?>
	</aside>
<?php endif;