<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Dotspice
 * @version 1.3.0
 */

if ( is_active_sidebar( 'sidebar' ) ) {
	?>
		<div class="<?php dotspice_the_theme_option( 'blog_sidebar' ); ?>">
			<aside class="sidebar page-sidebar" <?php dotspice_schema( 'sidebar' ); ?>>
				<?php dynamic_sidebar( 'sidebar' ); ?>
			</aside>
		</div>
	<?php
}