* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
/* Template Name: Archives */
get_header();
if (jaxlite_postmeta('jaxlite_header_sidebar') && jaxlite_postmeta('jaxlite_header_sidebar') != "none") {
    do_action('jaxlite_header_sidebar', jaxlite_postmeta('jaxlite_header_sidebar'));
}
?>
    
    <div class="container content">
        
        <div class="row">
           
            <div class="<?php 
echo jaxlite_template('span') . " " . jaxlite_template('sidebar');
?>
">
                
                <div class="row">
            
                    <article <?php 
post_class();
?>
 >
                    
                        <?php 
while (have_posts()) {
    the_post();
    do_action('jaxlite_before_content');
    do_action('jaxlite_header_type');
<?php

if (jaxlite_template('span') == "col-md-8") {
    ?>

    <div class="col-md-4">
        
        <div class="row">
    
            <div id="sidebar" class="post-container col-md-12">
                
                <div class="sidebar-box">

					<?php 
    if (is_active_sidebar('side-sidebar-area')) {
        dynamic_sidebar('side-sidebar-area');
    } else {
        the_widget('WP_Widget_Archives', '', array('before_widget' => '<div id="%1$s" class="post-article widget-box %2$s">', 'after_widget' => '</div>', 'before_title' => '<div class="title-container"><h3 class="title">', 'after_title' => '</h3></div>'));
        the_widget('WP_Widget_Calendar', array("title" => __('Calendar', "diarjolite")), array('before_widget' => '<div id="%1$s" class="post-article widget-box %2$s">', 'after_widget' => '</div>', 'before_title' => '<div class="title-container"><h3 class="title">', 'after_title' => '</h3></div>'));
        the_widget('WP_Widget_Categories', '', array('before_widget' => '<div id="%1$s" class="post-article widget-box %2$s">', 'after_widget' => '</div>', 'before_title' => '<div class="title-container"><h3 class="title">', 'after_title' => '</h3></div>'));
    }
    ?>

                </div>
                
            </div>
    
        </div>
            
    </div>
                            <div class="clear"></div>
                            
                        </section>
        
                    </div>
         
               </div>
        
            </article>
	
		<?php 
}
?>
        
	<?php 
if (jaxlite_template('sidebar') == "left-sidebar" || jaxlite_template('sidebar') == "right-sidebar") {
    ?>
        
        </div>
        
    </div>
        
    <?php 
}
?>
        
        <section id="sidebar" class="post-container col-md-4">
                
            <div class="sidebar-box">
    
                <?php