mirror of
https://github.com/aljazceru/Journal-ghost.git
synced 2025-12-18 13:44:21 +01:00
Updated date formatting
ref DES-937 - updated the format to DD MMM YYYY which is the preferred format in Ghost
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<a class="gh-card-link" href="{{url}}">
|
||||
<header class="gh-card-header">
|
||||
<div class="gh-article-meta">
|
||||
<span class="gh-card-date">Latest — <time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time></span>
|
||||
<span class="gh-card-date">Latest — <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time></span>
|
||||
</div>
|
||||
<h2 class="gh-article-title gh-card-title">{{title}}</h2>
|
||||
</header>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="gh-card-excerpt">{{excerpt}}</div>
|
||||
|
||||
<footer class="gh-card-meta">
|
||||
<time class="gh-card-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
<time class="gh-card-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
<span class="gh-card-duration">{{reading_time}}</span>
|
||||
{{#if @site.comments_enabled}}
|
||||
{{comment_count class="gh-card-comments"}}
|
||||
|
||||
2
post.hbs
2
post.hbs
@@ -13,7 +13,7 @@
|
||||
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
|
||||
{{/if}}
|
||||
—
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
</span>
|
||||
|
||||
<h1 class="gh-article-title">{{title}}</h1>
|
||||
|
||||
Reference in New Issue
Block a user