closes casperissue #8

- replaces created_at with publish_at in full-post.hbs and list-post.hbs
This commit is contained in:
cobbspur 2013-06-16 16:15:44 +01:00
parent 213457659c
commit 0fc57a0bd0
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<div class="wrap">
<header>
<h2 class="entry-title h1"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2>
<span class="entry-meta">Published on <time class="updated" datetime="{{dateFormat created_at format='YYYY-MM-DD'}}">{{dateFormat created_at format='DD MMMM YYYY'}}</time></span>
<span class="entry-meta">Published on <time class="updated" datetime="{{dateFormat published_at format='YYYY-MM-DD'}}">{{dateFormat published_at format='DD MMMM YYYY'}}</time></span>
</header>
<section class="entry-content">

View file

@ -1,6 +1,6 @@
<li class="wrap">
<article class="post type-post status-publish format-standard hentry">
<h2 class="entry-title"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2>
<time class="updated" datetime="2012-05-03">{{dateFormat created_at format="MMMM DD, YYYY"}}</time>
<time class="updated" datetime="2012-05-03">{{dateFormat published_at format="MMMM DD, YYYY"}}</time>
</article>
</li>