helper name changes for casper

closes #17

- changed pagination and date in handlebars templates
This commit is contained in:
cobbspur 2013-08-22 21:45:00 +01:00
parent ad877308d4
commit 7214380abd
3 changed files with 3 additions and 3 deletions

View File

@ -11,5 +11,5 @@
{{/if}} {{/if}}
{{/foreach}} {{/foreach}}
</ul> </ul>
{{paginate}} {{pagination}}
</section> </section>

View File

@ -7,7 +7,7 @@
<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 published_at format='YYYY-MM-DD'}}">{{dateFormat published_at format='DD MMMM YYYY'}}</time></span> <span class="entry-meta">Published on <time class="updated" datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMMM YYYY'}}</time></span>
</header> </header>
<section class="entry-content"> <section class="entry-content">

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 published_at format="MMMM DD, YYYY"}}</time> <time class="updated" datetime="2012-05-03">{{date published_at format="MMMM DD, YYYY"}}</time>
</article> </article>
</li> </li>