New tags helper

This commit is contained in:
John O'Nolan 2013-09-02 10:33:16 +02:00 committed by Hannah Wolfe
parent c068736354
commit 53c55fe95c
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<article class="{{post_class}}">
<header class="post-header">
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMM YYYY'}}</time> in <a href="#">What I Learned Building...</a></span>
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<h2 class="post-title"><a href="/{{slug}}">{{title}}</a></h2>
</header>

View file

@ -16,7 +16,7 @@
</header>
{{! Everything below outputs content of the the post which has been published }}
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMM YYYY'}}</time> on <a href="#">What I Learned Building...</a></span>
<span class="post-meta"><time datetime="{{date published_at format="YYYY-MM-DD"}}">{{date published_at format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags}}{{/if}}</a></span>
<h1 class="post-title">{{title}}</h1>