Ajout de la date de mise à jour dans les posts

This commit is contained in:
Yann 2022-06-23 21:16:41 +02:00
parent e175175f03
commit 9dfcb37299

View File

@ -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"}}">&nbsp;&nbsp;➡ Mise à jour {{date updated_at format='DD MMM YYYY' locale="fr-fr"}}</time>
{{/if}}
</span>
<h2 class="post-title">{{{title}}}</h2>