New tags helper
This commit is contained in:
parent
c068736354
commit
53c55fe95c
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
<article class="{{post_class}}">
|
<article class="{{post_class}}">
|
||||||
<header class="post-header">
|
<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>
|
<h2 class="post-title"><a href="/{{slug}}">{{title}}</a></h2>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
2
post.hbs
2
post.hbs
|
@ -16,7 +16,7 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{! Everything below outputs content of the the post which has been published }}
|
{{! 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>
|
<h1 class="post-title">{{title}}</h1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue