windhamdavid 10 years ago
parent
commit
c917c02037
9 changed files with 278 additions and 224 deletions
  1. 1 1
      archive.php
  2. 14 3
      footer.php
  3. 7 4
      functions.php
  4. 28 5
      header.php
  5. 7 0
      inc/tweaks.php
  6. 27 1
      index.php
  7. 1 2
      page-notebook.php
  8. 183 161
      style.css
  9. 10 47
      underscore.php

+ 1 - 1
archive.php

@@ -1,5 +1,5 @@
 <?php get_header(); ?>
-	<div id="container" class="one-column">
+	<div class="container">
 		<div id="content" role="main">
 			<div class="entry-content archive">
 				<?php if ( have_posts() ) : ?>

+ 14 - 3
footer.php

@@ -1,7 +1,18 @@
-	<div id="footer" role="contentinfo">
-		
+<div class="container-full footer dark">
+	<div class="container">
+		<div class"row">
+			<!--some fun footer stuff -->	
+			<div class="col-md-4">
+				<p class="dim">.col-md-4<p>
+			</div>
+			<div class="col-md-4">.col-md-4</div>
+			<div class="col-md-4">
+				<p class="dim right"><a href="https://github.com/windhamdavid/dw"><span class="fa fa-15x fa-code-fork"></span> </a></p>
+				<p class="small dim right">&copy; 2005-2015</p>
+			</div>
+		</div>
 	</div>
-	
+</div>
 </div>
 <?php wp_footer(); ?>
 <!--[if lt IE 9]>

+ 7 - 4
functions.php

@@ -22,6 +22,7 @@ function dw_scripts() {
 	//wp_enqueue_style( 'style-min', get_template_directory_uri() . '/css/style.min.css');
 	wp_enqueue_style( 'boot', get_template_directory_uri() . '/css/bootstrap.css');
 	//wp_enqueue_style( 'jasny', get_template_directory_uri() . '/css/jasny-bootstrap.css');
+	wp_enqueue_style( 'font', get_template_directory_uri() . '/css/font-awesome.css');
 	
 	wp_deregister_script('jquery');
 	wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
@@ -29,13 +30,15 @@ function dw_scripts() {
 	wp_enqueue_script( 'scripts', get_template_directory_uri() . '/js/scripts.js', 'jquery', '', true );
 	wp_enqueue_script( 'script', get_template_directory_uri() . '/js/script.js', 'jquery', '', true );
 	wp_enqueue_script( 'init', get_template_directory_uri() . '/js/init.js', 'jquery', '', true );
-	//wp_enqueue_script( 'api', get_template_directory_uri() . '/js/wp-api.js', 'jquery', '', true );
-	
-	//wp_register_script( 'wp-api', get_template_directory_uri() . '/js/wp-api.js', array( 'jquery', 'backbone', 'underscore' ), '1.1', true );
 
 	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
 		wp_enqueue_script( 'comment-reply' );
-	} elseif ( is_page('notebook') || is_front_page() || is_archive() || is_search() ) {
+	} 
+	
+	if ( is_front_page() || is_home() ) {
+		wp_enqueue_script( 'skroll', get_template_directory_uri() . '/js/skrollr.min.js', 'jquery', '', true );
+		
+	} elseif ( is_page('notebook') || is_archive() || is_search() ) {
 		
 		global $wp_rewrite;
 

+ 28 - 5
header.php

@@ -16,7 +16,7 @@
 </head>
 <body>
 <header id="header">
-	<div class="navbar navbar-fixed-top" role="navigation">
+	<div class="navbar navbar-fixed-top">
 		<div class="container">
 		<div class="site-title">
 			<a href="http://davidawindham.com" title="David Windham"><img class="dw" title="David Windham" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/></a>
@@ -26,10 +26,33 @@
 		<a href="#" class="nav-toggle navbar-right" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body"><span></span></a>
 	</div>
 </header>
-<nav class="navmenu navmenu-default navmenu-fixed-right offcanvas" role="complementary">
-	<?php wp_nav_menu( array( 'menu' => 'main','sort_column' => 'menu_order', 'container_class' => 'nav-stacked', 'menu_class' => 'nav nav-stacked' ) ); ?>
-	<a href="#archives" class="list-group-item list-group-item-success" data-toggle="collapse" data-parent=".navmenu">Archives</a>
+<nav class="navmenu navmenu-default navmenu-fixed-right offcanvas" role="navigation">
+	<ul class="nav nav-stacked">
+		<li><a href="<?php echo home_url( '/' ); ?>bio" class="list-group-item"><span class="fa fa-file-text-o fa-fw"></span> About</a></li>
+		<li><a href="<?php echo home_url( '/' ); ?>notebook" class="list-group-item"><span class="fa fa-pencil-square-o fa-fw"></span> Notebook</a></li>
+		<li><a href="<?php echo home_url( '/' ); ?>studio" class="list-group-item"><span class="fa fa-flask fa-fw"></span> Studio</a></li>
+		<li><a href="<?php echo home_url( '/' ); ?>contact" class="list-group-item"><span class="fa fa-envelope-o fa-fw"></span> Contact</a></li>
+		<li><a href="#archives" class="list-group-item" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-folder-open-o fa-fw"></span> Archives</a>
+	</ul>
 	<div class="collapse" id="archives">
-	<?php wp_get_archives( array( 'type' => 'yearly', 'limit' => 40 ) ); ?>
+	<?php wp_get_archives( array( 'type' => 'yearly') ); ?>
 	</div>
+	<div class="clear">
+	<a href="#social" class="list-group-item" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-external-link fa-fw"></span> Connect</a>
+	<div class="collapse" id="social">
+		<ul class="social">
+			<li><a href="https://davidawindham.com/feed" class="" rel="me"><span class="fa fa-2x fa-rss-square"></span></a></li>
+			<li><a href="https://twitter.com/windhamdavid" class="" rel="me"><span class="fa fa-2x fa-twitter-square"></span></a></li>
+			<li><a href="https://www.facebook.com/windhamdavid" class=""><span class="fa fa-2x fa-facebook-square"></span></a></li>
+			<li><a href="https://plus.google.com/+DavidWindham1" class="" rel="me"><span class="fa fa-2x fa-google-plus-square"></span></a></li>
+			<li><a href="https://github.com/windhamdavid" class="" rel="me"><span class="fa fa-2x fa-github-square"></span></a></li>
+			<li><a href="http://www.last.fm/user/windhamdavid" class=""><span class="fa fa-2x fa-lastfm-square"></span></a></li>
+			<li><a href="http://vimeo.com/windhamdavid" class=""><span class="fa fa-2x fa-vimeo-square"></span></a></li>
+			<li><a href="http://windhamdavid.tumblr.com/" class=""><span class="fa fa-2x fa-tumblr-square"></span></a></li>
+			<li><a href="https://keybase.io/windhamdavid" class=""><span class="fa fa-15x fa-key"></span></a></li>
+			<li><a href="https://www.coinbase.com/windhamdavid" class=""><span class="fa fa-15x fa-bitcoin"></span></a></li>
+			<li><a href="http://en.wikipedia.org/wiki/User:Windhamdavid" class=""><span class="fa fa-15x fa-globe"></span></a></li>
+		<ul>
+	</div>
+		
 </nav>

+ 7 - 0
inc/tweaks.php

@@ -34,4 +34,11 @@ function dw_hide() {
 <?php }
 add_action( 'admin_head', 'dw_hide' );
 
+
+function dw_oembed_filter($html, $url, $attr, $post_ID) {
+    $return = '<div class="video-container">'.$html.'</div>';
+    return $return;
+}
+add_filter( 'embed_oembed_html', 'dw_oembed_filter', 10, 4 ) ;
+
 ?>

+ 27 - 1
index.php

@@ -1,8 +1,34 @@
-<?php get_header(); ?>
+<!--perhaps an altenate header -->
+<?php get_header('home'); ?>
+	<div class="container-full leader dark">
+		<!-- Not sure what I'm going to have on my main page just yet maybe the card again -->
+		<div class="container">
+			<h1 class="light">Some Static Content</h1>
+			<h2 class="light">Some Static Content</h2>
+			<h3 class="light">Some Static Content</h3>
+			<h4 class="light">Some Static Content</h4>
+			<h5 class="light">Some Static Content</h5>
+			<h6 class="light">Some Static Content</h6>
+		</div>
+	</div>
 	<div class="container">
 		<div id="content" role="main">
 			<main id="main" class="site-main" role="main">
 				<!-- Not sure what I'm going to have on my main page just yet -->
+				<?php query_posts('showposts=2'); ?>
+				<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
+				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+					<div class="entry-content">
+						<div class="date">
+							<?php the_date('n/j/Y'); ?>		
+						</div>
+						<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+						<?php the_content(); ?>
+						<?php comments_template( '', true ); ?>
+						<div class="clear">&nbsp;</div>
+					</div>
+				</div>
+				<?php endwhile; ?>
 			</div>
 		</div>
 	</div>

+ 1 - 2
page-notebook.php

@@ -13,11 +13,10 @@ get_header(); ?>
 			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 				<div class="entry-content">
 					<div class="date">
-						<?php the_date('M j, Y'); ?>		
+						<?php the_date('n/j/Y'); ?>		
 					</div>
 					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
 					<?php the_content(); ?>
-					<?php comments_template( '', true ); ?>
 					<div class="clear">&nbsp;</div>
 				</div>
 			</div>

+ 183 - 161
style.css

@@ -7,9 +7,10 @@ Author: windhamdavid
 Version: 2.0
 
 Thanks: 
-normalize.css v3.0.1 * MIT License | git.io/normalize
-bootstrap v3.2.0 * Licensed under MIT | github.com/twbs/bootstrap
-Automattic | _s github.com/Automattic/_s 
+normalize.css v3.0.1 * MIT License
+bootstrap v3.2.0 * MIT License
+font awesome 4.2.0 * MIT License
+_S | GPL License
 */
 
 html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
@@ -29,146 +30,103 @@ a img {border: 0;}
 .clear {clear: both;}
 
 
-/*===== Body =====*/
+/*============================================
+										Body 
+==============================================*/
+
+body { 
+	background: rgba(242,242,242,.7)
+}
+body,input,textarea {
+	color: #666;
+	font-size: 12px;
+	line-height: 18px;
+}
 
-body { background: rgba(242,242,242,.7) }
-body,input,textarea {color: #666;font-size: 12px;line-height: 18px;}
 
+/*============================================
+										Typography 
+==============================================*/
 
-/*====== Grid ======*/
+body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 14px;line-height: 1.42857143;}
+input,button,select,textarea {font-family: inherit;font-size: inherit;line-height: inherit;}
+
+.light {
+	color:#fcfcfc;
+}
+.dim {
+	color: #737373;
+}
+.right {
+	text-align: right;
+}
+
+/*============================================
+										Grid 
+==============================================*/
 .container {
   padding-right: 15px;
   padding-left: 15px;
   margin-right: auto;
   margin-left: auto;
 }
+.container-full {
+  margin: 0 auto;
+  width: 100%;
+}
+
+@media (max-width: 768px) {
+  .offcanvas {
+    display: none;
+  }
+}
 @media (min-width: 768px) {
   .container {
     width: 750px;
   }
+  .offcanvas {
+    display: none;
+  }
+  .site-title {
+  	font-size: 25px;
+  }
 }
 @media (min-width: 992px) {
   .container {
     width: 970px;
   }
+  .offcanvas {
+    display: none;
+  }
 }
 @media (min-width: 1200px) {
   .container {
     width: 1170px;
   }
-}
 
-.column, .columns {
-    float: left;
-    display: inline-block;
-    padding: 0 30px;
-    margin-bottom: 30px;
-    margin: 0 auto;
-    -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-            box-sizing: border-box;
-}
-
-.eight.columns     { width: 100%;  }
-.seven.columns     { width: 87.5%; }
-.six.columns       { width: 75%;   }
-.five.columns      { width: 62.5%; }
-.four.columns      { width: 50%;   }
-.three.columns     { width: 37.5%; }
-.two.columns       { width: 25%;   }
-.one.column        { width: 12.5%; }
-
-.one-third.column  { width: 33.33%;}
-.two-thirds.column { width: 66.66%;}
-
-@media only screen and (max-width: 479px) {
-    .eight.columns,
-    .seven.columns,
-    .six.columns,
-    .five.columns,
-    .four.columns,
-    .three.columns,
-    .two.columns,
-    .one.column,
-    .one-third.column,
-    .two-thirds.column
-    { 
-        width: 100%;
-        margin-bottom: 20px;
-    }
-}
-
-
-.slate:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
-
-.clearfix:before,
-.clearfix:after,
-.row:before,
-.row:after {
-  content: '\0020';
-  display: block;
-  overflow: hidden;
-  visibility: hidden;
-  width: 0;
-  height: 0; }
-.row:after,
-.clearfix:after {
-  clear: both; }
-.row,
-.clearfix {
-  zoom: 1; }
-
-.clear {
-  clear: both;
-  display: block;
-  overflow: hidden;
-  visibility: hidden;
-  width: 0;
-  height: 0;
 }
-
-/*====== Type ======*/
-
-body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size: 14px;line-height: 1.42857143;}
-input,button,select,textarea {font-family: inherit;font-size: inherit;line-height: inherit;}
-.glyphicon  {
-    font-size: 16px;
-}
-.container {
-
+@media (min-width: 1310px) {
+	.offcanvas {
+	  display: block;
+		z-index: 1;
+	}
+	body {
+		margin-right: 150px !important;
+	}
+	.navbar {
+		margin-right: 150px !important;
+	}	
+	.nav-toggle {
+		display: none;
+	}
 }
 
-/*===== Structure =====*/
 
 
-/*===== Layouts =====*/
 
-
-
-/*===== Header =====*/
-.site-title {
-	float: right;
-	padding: 15px 0;
-	font: 21px/27px "Courier New", Courier, mono;
-}
-.site-title a {
-	color: #000;
-	text-decoration: none;
-}
-img.dw {
-	float: right;
-	margin: 15px 0;
-}
-#site-description {
-	clear: right;
-	float: right;
-	font-style: italic;
-	margin: 14px 0 18px 0;
-	width: 160px;
-}
-
-
-/*==== Nav =====*/
+/*============================================
+										Navbar 
+==============================================*/
 
 .navbar {
   background-color: rgba(237, 237, 237, 0.7);
@@ -203,12 +161,10 @@ img.dw {
 }
 
 
+/*============================================
+										NavMenu 
+==============================================*/
 
-
-
-.offcanvas {
-  display: none;
-}
 .offcanvas.in {
   display: block;
 }
@@ -216,7 +172,6 @@ img.dw {
   -webkit-transition: .25s ease-in-out;
   transition: .25s ease-in-out;
 }
-
 .navmenu,
 .navbar-offcanvas {
   width: 150px;
@@ -224,6 +179,7 @@ img.dw {
   border-style: solid;
   border-width: 1px;
   border-radius: 4px;
+  padding-top:80px;
 }
 .navmenu-fixed-right,
 .navbar-offcanvas {
@@ -234,14 +190,10 @@ img.dw {
   overflow-y: auto;
   border-radius: 0;
   background-color: rgba(237, 237, 237, 0.7);
-}
-
-.navmenu-fixed-right {
   left: auto;
   right: 0;
   border-width: 0 0 0 0px;
 }
-
 .nav-toggle { 
 	padding: 15px 0;
 	padding: 10px 35px 16px 0px;
@@ -286,11 +238,78 @@ img.dw {
   -o-transform: rotate(-45deg);
 }
 
+ul.social {
+	padding: 5px 15px;
+}
+ul.social li {
+	float: left;
+	padding: 1px 3px;
+}
+#archives li {
+	list-style: none;
+	margin: 2px 8px;
+	float: left;
+}
+.fa {
+	color: #777;
+}
+.fa-15x {
+  font-size: 1.6em !important;
+  padding: 2px 2px;
+}
+
+
+
+
+/*============================================
+										Header 
+==============================================*/
+.site-title {
+	float: right;
+	padding: 15px 0;
+	font: 21px/27px "Courier New", Courier, mono;
+}
+.site-title a {
+	color: #000;
+	text-decoration: none;
+}
+img.dw {
+	float: right;
+	margin: 15px 0;
+}
+#site-description {
+	clear: right;
+	float: right;
+	font-style: italic;
+	margin: 14px 0 18px 0;
+	width: 160px;
+}
+
+
 
-/*===== Content =====*/
+/*============================================
+										Content 
+==============================================*/
+
+/*===== Structure =====*/
+.leader {
+	margin: 80px 0;
+	padding: 50px 0;
+}
+.dark {
+	background: #222;
+}
+.footer {
+	padding: 50px 0 100px;
+}
+
+
+
+/*===== Wordpress =====*/
 
 .post {
-	background: #ffffff;
+	background: #fff;
+	margin-bottom: 40px;
 }
 
 
@@ -366,7 +385,7 @@ img.dw {
 	background: #f2f7fc;
 }
 .hentry {
-	margin: 0 0 20px 0;
+	margin: 0 0 30px 0;
 }
 .reserved-gallery {
 	float: left;
@@ -602,13 +621,15 @@ body.page .edit-link {
 }
 .date {
 	float: right;
-	margin: -20px 0 20px 50px;
+	margin: 0px 0 20px 50px;
 	color: #777;
 	font: 14px/18px "Courier New", Courier, mono;
 }
 
 
-/*===== Meta ===== */
+/*============================================
+										Meta 
+==============================================*/
 
 .meta {
 	font-size: 11px;
@@ -634,7 +655,9 @@ span.fb  {
 		background-position: 0 0;
 	}
 	
-/*===== Comments =====*/
+/*============================================
+										Comments 
+==============================================*/
 
 .commentbubble {
 	font-size: 12px;
@@ -823,7 +846,26 @@ img.avatar {
 
 
 
-/*===== Gallery =====*/
+/*============================================
+										Media 
+==============================================*/
+
+.video-container {
+    position: relative;
+    padding-bottom: 56.25%;
+    padding-top: 30px; height: 0; overflow: hidden;
+}
+ 
+.video-container iframe,
+.video-container object,
+.video-container embed {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+}
+
 
 .category-gallery .size-thumbnail img {
 	border: 10px solid #f1f1f1;
@@ -881,12 +923,11 @@ img.avatar {
 
 /*===== Images ======*/
 
-.img-responsive {
-  display: block;
-  width: 100% \9;
-  max-width: 100%;
-  height: auto;
+.entry-content img {
+	max-width: 100%;
+	height: auto;
 }
+
 .img-rounded {
   border-radius: 6px;
 }
@@ -908,9 +949,6 @@ img.avatar {
   border-radius: 50%;
 }
 
-#content img {
-	max-width: 880px;
-}
 #content .home img {
 	border: 15px solid #000;
 }
@@ -991,7 +1029,9 @@ img.avatar {
 }
 
 
-/*====== Pagination =====*/
+/*============================================
+										Pagination 
+==============================================*/
 
 .navigation {
 	color: #888;
@@ -1072,7 +1112,10 @@ img.avatar {
 }
 
 
-/*====== Footer =====*/
+/*============================================
+										Footer 
+==============================================*/
+
 p.cc {
 	float: right;
 	font-size: 14px;
@@ -1083,24 +1126,3 @@ span.quiet {
 }
 
 
-/*====== Grid =====*/
-/* Containers {768|750 992|970 1200|1170}*/
-
-@media (min-width: 768px) {
-	.site-title {
-		font-size: 25px;
-		font-family:"Courier New", Courier, mono;
-		padding: 15px 15px;
-	}
-  
-}
-
-@media (min-width: 992px) {
-
-  
-}
-
-@media (min-width: 1200px) {
-
-  
-}

+ 10 - 47
underscore.php

@@ -1,62 +1,25 @@
 <script type="text/html" id="content-template">
 	<article id="post-<%= post.ID %>" class="post">
+		<div class="entry-content">
 		<header class="entry-header">
-			<h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title %></a></h1>
-
-			<% if ( 'post' === post.type ) { %>
 			<div class="entry-meta">
 				<% postDate = new Date( post.date ); %>
-				<span class="posted-on">
-					<?php esc_html_e( 'Posted on', '_s_backbone' ); ?>
-
-					<time class="entry-date published">
+					<time class="date">
 						<% print( ( postDate.getMonth() + 1 ) + '/' + postDate.getDate() + '/' + postDate.getFullYear() ); %>
 					</time>
-				</span>
-				<span class="byline">
-					<?php esc_html_e( 'by', '_s_backbone' ); ?>
-
-					<span class="author vcard">
-						<a class="url fn n" href="<%= settings.pathInfo['author_permastruct'].replace( '%author%', post.author.get( 'username' ) ) %>">
-							<%= post.author.get( 'nickname' ) %>
-						</a>
-					</span>
-				</span>
-			</div><!-- .entry-meta -->
-			<% } %>
-		</header><!-- .entry-header -->
-
-		<div class="entry-content">
-			<%= post.content %>
-		</div><!-- .entry-content -->
-
-		<footer class="entry-footer">
+			</div>
+			<h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title %></a></h1>
 			<% if ( 'post' === post.type ) { %>
-				<% if ( post.terms.category ) { %>
-					<span class="cat-links">
-						<?php esc_html_e( 'Posted in', '_s_backbone' ); ?>
-						<% _.each( post.terms.category, function( category ) { %>
-							<a href="<%= category.link %>"><%= category.name %></a>
-						<% } ); %>
-					</span>
-				<% } %>
 
-				<% if ( post.terms.tag ) { %>
-					<span class="tags-links">
-						<% _.each( post.terms.tag, function( tag ) { %>
-							<a href="<%= tag.link %>"><%= tag.name %></a>
-						<% } ); %>
-					</span>
-				<% } %>
 			<% } %>
-		</footer><!-- .entry-footer -->
-	</article><!-- #post-<%= post.ID %> -->
+		</header>
+			<%= post.content %>
+		<div class="clear">&nbsp;</div>
+		</div>
+	</article>
 </script>
-
 <script type="text/html" id="more-button-template">
 	<div class="more-posts">
-
-		<a class="more-button button btn-lg btn btn-danger" href="#"><?php esc_html_e( 'More', '_s_backbone' ); ?></a>
-
+		<a class="more-button button btn-lg btn btn-danger" href="#"><?php esc_html_e( 'More', 'dw' ); ?></a>
 	</div>
 </script>