Uses prefix for tag helper
This commit is contained in:
parent
fec0cc6ca6
commit
7aee698a98
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
<article class="{{post_class}}">
|
||||
<header class="post-header">
|
||||
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
|
||||
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{tags prefix="on "}}</span>
|
||||
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
||||
|
||||
</header>
|
||||
|
|
2
post.hbs
2
post.hbs
|
@ -22,7 +22,7 @@
|
|||
{{#post}}
|
||||
|
||||
{{! Everything below outputs content of the the post which has been published }}
|
||||
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags separator=" | "}}{{/if}}</span>
|
||||
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{tags prefix="on " separator=" | "}}</span>
|
||||
|
||||
<h1 class="post-title">{{{title}}}</h1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue