Ajout de la date de mise à jour dans les posts
This commit is contained in:
parent
e175175f03
commit
9dfcb37299
7
post.hbs
7
post.hbs
@ -14,7 +14,12 @@
|
||||
{{#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' locale="fr-fr"}}</time> {{#if tags}}dans {{tags separator=" | "}}{{/if}}</span>
|
||||
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY' locale="fr-fr"}}</time>
|
||||
{{#if tags}}dans {{tags separator=" | "}}{{/if}}<br />
|
||||
{{#if updated_at}}
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}"> ➡ Mise à jour {{date updated_at format='DD MMM YYYY' locale="fr-fr"}}</time>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<h2 class="post-title">{{{title}}}</h2>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user