mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
Uses prefix for tag helper
This commit is contained in:
parent
fec0cc6ca6
commit
7aee698a98
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<article class="{{post_class}}">
|
<article class="{{post_class}}">
|
||||||
<header class="post-header">
|
<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>
|
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
2
post.hbs
2
post.hbs
@ -22,7 +22,7 @@
|
|||||||
{{#post}}
|
{{#post}}
|
||||||
|
|
||||||
{{! 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 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>
|
<h1 class="post-title">{{{title}}}</h1>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user