<?php
/**
 * The template for displaying all single posts and attachments
 *
 * @package WordPress
 * @subpackage WPA_Italia_Digitale
 * @since WPA Italia Digitale 3.0
 */

get_header();
while ( have_posts() ) : the_post(); ?>
<section id="main">
  <div class="u-layout-wide u-layoutCenter u-layout-withGutter u-padding-r-bottom u-padding-top-s">
      <nav aria-label="<?php echo __('You are here','wpaitaliadigitale'); ?>:" >
        <ol class="Breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
          <?php if(function_exists('bcn_display'))
            {
                bcn_display();
            }?>
        </ol>
    </nav>
  </div>

  <div class="u-layout-wide u-layout-withGutter u-layoutCenter u-padding-r-top u-margin-bottom-l">
    
    <div class="Grid Grid--withGutter">
      <div class="Grid-cell u-md-size8of12 u-lg-size8of12 u-margin-bottom-l">
        <article class="Grid-cell u-md-size11of12 u-lg-size11of12">

            <div class="Grid-cell Prose u-layout-release u-color-black u-margin-bottom-m">
				<h1 class="u-text-h2"><?php the_title(); ?></h1>
              <?php the_content(); ?>
            </div>

        </article>
      </div>
     <?php endwhile; ?>
      <aside class="Grid-cell Grid-Sidebar u-sizeFull u-md-size4of12 u-lg-size4of12 u-margin-bottom-l" itemscope itemtype="http://schema.org/WPSideBar">
        <?php if ( is_active_sidebar( 'trasparenza-sidebar' ) ) :
          dynamic_sidebar( 'trasparenza-sidebar' );
        endif; ?>
      </aside>
    </div>
</div>
</section>
<?php get_footer(); ?>