Browse Source

more underscore

windhamdavid 5 years ago
parent
commit
c62fa100b7
4 changed files with 22 additions and 1 deletions
  1. 1 1
      index.php
  2. 1 0
      js/wp-api.min.js
  3. 20 0
      page-blog.php
  4. 0 0
      underscore.php

+ 1 - 1
index.php

@@ -1,5 +1,5 @@
 <?php get_header(); ?>
-<?php get_template_part( 'underscore-templates' ); ?>
+<?php get_template_part( 'underscore' ); ?>
 	<div class="container">
 		<div id="content" role="main">
 			<?php if ( have_posts() ) : ?>

File diff suppressed because it is too large
+ 1 - 0
js/wp-api.min.js


+ 20 - 0
page-blog.php

@@ -0,0 +1,20 @@
+<?php get_header(); ?>
+<?php get_template_part( 'underscore' ); ?>
+	<div class="container">
+		<div id="content" role="main">
+			<?php if ( have_posts() ) : ?>
+
+				<?php while ( have_posts() ) : the_post(); ?>
+
+					<?php get_template_part( 'content' ); ?>
+
+				<?php endwhile; ?>
+
+			<?php else : ?>
+
+				<?php get_template_part( 'content', 'none' ); ?>
+
+			<?php endif; ?>
+		</div>
+	</div>
+<?php get_footer(); ?>

underscore-templates.php → underscore.php