Add Menu and Navigation

This commit is contained in:
2018-02-12 19:48:25 +00:00
parent 5f05b29d0b
commit 285305af67
16 changed files with 453 additions and 43 deletions

View File

@@ -1,31 +1,35 @@
<?php get_header() ?>
<main class="Grid">
<?php get_template_part('partials/logo') ?>
<?php while ( have_posts() ) : the_post() ?>
<section class="Grid-article">
<article class="Article">
<div class="Article-date">
<svg class="Icon">
<use href="#icon-calendar"></use>
</svg>
<span class="Article-dateText">
<?php the_time(get_option('date_format')) ?>
</span>
</div>
<h1 class="Article-title">
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
</h1>
<div class="Article-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'windycoys' ) ); ?>
</div>
</article>
</section>
<section class="Grid-metadata">
<?php get_template_part('partials/metadata') ?>
</section>
<?php endwhile; ?>
<section class="Grid-footer">
<?php get_template_part('partials/footer') ?>
</section>
<main class="Grid">
<?php get_template_part('partials/logo') ?>
<?php while ( have_posts() ) : the_post() ?>
<section class="Grid-article">
<article class="Article">
<div class="Article-date">
<svg class="Icon">
<use href="#icon-calendar"></use>
</svg>
<span class="Article-dateText">
<?php the_time(get_option('date_format')) ?>
</span>
</div>
<h1 class="Article-title">
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
</h1>
<div class="Article-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'windycoys' ) ); ?>
</div>
</article>
</section>
<section class="Grid-metadata">
<?php get_template_part('partials/metadata') ?>
</section>
<?php endwhile; ?>
<section class="Grid-footer">
<?php get_template_part('partials/footer') ?>
</section>
</main>
<?php get_template_part('partials/menu') ?>
<?php get_template_part('partials/nav') ?>
<?php get_footer() ?>