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}}">
|
<a class="gh-card-link" href="{{url}}">
|
||||||
<header class="gh-card-header">
|
<header class="gh-card-header">
|
||||||
<div class="gh-article-meta">
|
<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>
|
</div>
|
||||||
<h2 class="gh-article-title gh-card-title">{{title}}</h2>
|
<h2 class="gh-article-title gh-card-title">{{title}}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<div class="gh-card-excerpt">{{excerpt}}</div>
|
<div class="gh-card-excerpt">{{excerpt}}</div>
|
||||||
|
|
||||||
<footer class="gh-card-meta">
|
<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>
|
<span class="gh-card-duration">{{reading_time}}</span>
|
||||||
{{#if @site.comments_enabled}}
|
{{#if @site.comments_enabled}}
|
||||||
{{comment_count class="gh-card-comments"}}
|
{{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>
|
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
—
|
—
|
||||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<h1 class="gh-article-title">{{title}}</h1>
|
<h1 class="gh-article-title">{{title}}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user