issue #28 - bookshelf reimplementation

required switchover to snake_case
This commit is contained in:
Hannah Wolfe 2013-05-16 22:18:41 +01:00
parent 151f5d3f4c
commit 9ddfae8cdc
2 changed files with 4 additions and 4 deletions

View File

@ -7,17 +7,17 @@
<div class="wrap"> <div class="wrap">
<header> <header>
<h2 class="entry-title h1"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2> <h2 class="entry-title h1"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2>
<span class="entry-meta">Published on <time class="updated" datetime="{{dateFormat createdAt format='YYYY-MM-DD'}}">{{dateFormat createdAt format='DD MMMM YYYY'}}</time></span> <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>
</header> </header>
<section class="entry-content"> <section class="entry-content">
{{{contentHtml}}} {{{content_html}}}
</section> </section>
<footer class="entry-footer"> <footer class="entry-footer">
<section class="entry-meta"> <section class="entry-meta">
<h5>Published</h5> <h5>Published</h5>
<time class="updated" datetime="{{dateFormat createdAt format='YYYY-MM-DD'}}">{{dateFormat createdAt format='DD MMMM YYYY'}}</time> <time class="updated" datetime="{{dateFormat created_at format='YYYY-MM-DD'}}">{{dateFormat created_at format='DD MMMM YYYY'}}</time>
<h5>Share</h5> <h5>Share</h5>
<ul class="share"> <ul class="share">
<li><a href="#">Twitter</a></li> <li><a href="#">Twitter</a></li>

View File

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