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:
parent
1a268e5a8a
commit
c948481aae
@ -27,7 +27,7 @@
|
||||
{{/if}}
|
||||
{{/match}}
|
||||
<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>
|
||||
{{#if reading_time}}
|
||||
<span class="gh-card-length">{{reading_time}}</span>
|
||||
{{/if}}
|
||||
|
2
post.hbs
2
post.hbs
@ -41,7 +41,7 @@
|
||||
<div class="gh-author-name-list">
|
||||
{{authors}}
|
||||
</div>
|
||||
<time class="gh-article-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
<time class="gh-article-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
</div>
|
||||
{{#if primary_tag}}
|
||||
<a class="gh-article-tag" href="{{primary_tag.url}}" style="--tag-color: {{primary_tag.accent_color}}">{{primary_tag.name}}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user