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

if ( ! is_active_sidebar( 'sidebar-1' ) || ! pixigo_is_sidebar_available() ) {
	return;
}
?>

<?php wp_print_styles( array( 'pixigo-widgets' ) ); ?>
<aside id="secondary" class="primary-sidebar widget-area" itemscope itemtype="http://schema.org/WPSideBar">
	<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->
