<repo_name>t0t/t0theme2<file_sep>/templates/page-header.php
<?php if(!is_front_page()) { ?>
<header>
                    
	<h2>
        <?php the_title(); ?>
	</h2>

</header>
<? } ?><file_sep>/template-home.php
<?php
/*
Template Name: Portada
*/
?>
<?php get_header(); ?>

<main role="main">

    <?php get_template_part('templates/custom', 'fields'); ?>
    
 	<?php get_template_part('templates/nav', 'main' ); ?>

</main>

<?php get_footer(); ?><file_sep>/template-page.php
<main>

    <section class="img--bg-big well well--panoramica">

		<h3>Hola</h3>
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est totam voluptate quisquam deserunt explicabo officiis, expedita deleniti asperiores aperiam cumque non quo alias voluptatum dolorem magnam dignissimos ad pariatur. Perspiciatis!</p>
		<button class="btn btn--image"><a href="">Call to action</a></button>

	</section>

	
    <h2>Shapes</h2>
    
	<section class="shapes">

		<div class="color-base shape-square"></div>
		<div class="color-base-dark shape-circle"></div>
		<div class="color-base-light shape-rounded"></div>
		<div class="color-base-invert shape-mask"></div>
		<div class="black shape-custom"></div>
		<div class="white"></div>

	</section>


    <section role="main">
            
	<?php get_template_part( 'templates/main', 'content' ); ?>

    </section>
    

    <h2>Lists</h2>

	<section class="lista">

		<ol class="lista__ordered">
		    <li class="lista__item">Bread</li>
		    <li class="lista__item">Milk</li>
		    <li class="lista__item">Eggs</li>
		    <li class="lista__item">Butter</li>
		</ol>

		<ul class="lista__unordered">
			<li class="lista__item">Elemento lista</li>
			<li class="lista__item">Elemento lista</li>
			<li class="lista__item">Elemento lista xx</li>
			<li class="lista__item">Elemento lista</li>
			<li class="lista__item">Elemento</li>
		</ul>

		<dl class="lista__definition">
			<dt>Titulo</dt>
			<dd>item lista de definición</dd>
			<dd>item lista</dd>
			<dt>Titulo</dt>
			<dd>item</dd>
			<dd>item</dd>
		</dl>	

	</section>


</main><file_sep>/template-home-blog.php
<?php
/*
Template Name: Blog
*/
?>
<?php get_header(); ?>


<!-- Fixed Nav -->
<?php get_template_part( 'templates/nav', 'main' ); ?>

<!-- Page Header -->
<?php get_template_part('templates/page', 'header'); ?>

<!-- Loop for posts -->
<?php get_template_part('templates/content', 'home-posts'); ?>


<?php get_footer(); ?><file_sep>/templates/content.php
<div class="main__content">
    
    <section class="main__content__section">

        <!-- post -->
        <article class="main__article article-post">
                
            <?php if (!is_front_page() ): ?>
            <header><h2><?php the_title(); ?></h2></header>
            <? endif; ?>
            
            <p><?php the_content(); ?></p>

            <footer><?php the_tags(); ?></footer>
            
        </article>

        <!-- Flexible content -->
        <article>
        <?php get_template_part('templates/custom', 'fields'); ?>
        </article>

    </section>

        <?php
            if ( is_home() ) :
            get_sidebar();
            elseif ( is_404() ) :
            get_sidebar( '404' );
            else :
            get_sidebar( 'userpicture' );
            endif;
        ?>

</div><file_sep>/sidebar-userpicture.php
<div class="main__content__sidebar">

	<?php if ( is_active_sidebar( 'sidebar-curso-wp' ) ) : ?>
		<!-- #start primary-sidebar -->
	    <div class="widgets main__content__widgets">
			<?php dynamic_sidebar( 'sidebar-curso-wp' ); ?>
		</div>
		<!-- #end primary-sidebar -->
	<?php endif; ?>
	
</div><file_sep>/footer.php
    <footer class="main-footer">
      <?php //$defaults=array('theme_location'=>'footer_menu','menu_class'=>'nav-footer'); wp_nav_menu($defaults);?>
       
        <h2 class="main-footer__header"></h2>
        <ul class="main-footer__list">
          <li><a href="https://github.com/t0t/t0theme2/" target="_blank" class="icon-github"></a>
          </li>
          <li><a href="https://twitter.com/t0tinspire" target="_blank" class="icon-twitter"></a>
          </li>
          <li><a href="https://www.flickr.com/photos/sergiofores/" target="_blank" class="icon-flickr"></a>
          </li>
          <li><a href="https://www.linkedin.com/in/sergiofores/" target="_blank" class="icon-linkedin"></a>
          </li>
        </ul>
    
        <div class="main-footer__credits">
          <a href="mailto:<EMAIL>" class="btn btn--footer">Just say Hello!</a>
        <aside rel="author"> 
            <small>
            <i class="icon-logo-mazizo"></i> <?php bloginfo('name'); ?> <?php echo date('Y'); ?>
            </small>
          <?php edit_post_link('&oplus; Editar ') ?>&sdot;
          <?php wp_loginout(); ?>
          </aside>
        </div> 
       
    </footer>
    <?php wp_footer(); ?>

</body>
</html><file_sep>/page.php
<?php get_header(); ?>

<main>

 	<?php get_template_part('templates/page-header' ); ?>
 	
 	<?php get_template_part('templates/nav', 'main' ); ?>

    <?php get_template_part('templates/custom-fields'); ?>

</main>

<?php get_footer(); ?><file_sep>/template-cpt1.php
<?php
/*
Template Name: CPT
*/
?>
<?php get_header(); ?>

<main role="main">

	<!-- Nav -->
 	<?php get_template_part('templates/nav', 'main' ); ?>

	<!-- Header -->
    <?php get_template_part('templates/page', 'header'); ?>

    <!-- Content -->
    <?php get_template_part('templates/content', 'cpt'); ?>

</main>

<?php get_footer(); ?><file_sep>/templates/content-contacto.php
<?php
/*
Template Name: Contacto
*/
?>
<?php get_header(); ?>

<main role="main">

	<?php get_template_part('templates/nav', 'main' ); ?>

    <!-- Page Header -->
	<?php get_template_part('templates/page', 'header'); ?>

    <?php get_template_part('templates/custom', 'fields'); ?>
    
</main>


<?php get_footer(); ?>