mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 02:28:02 +00:00
New tags helper
This commit is contained in:
parent
c068736354
commit
53c55fe95c
@ -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>
|
||||
|
2
post.hbs
2
post.hbs
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user