mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-01-18 10:33:44 +00:00
Merge branch 'main' of https://github.com/TryGhost/Casper
This commit is contained in:
commit
3ca67aafe8
@ -2,7 +2,7 @@
|
|||||||
"name": "casper-i18n",
|
"name": "casper-i18n",
|
||||||
"description": "The same casper theme, but with localization support",
|
"description": "The same casper theme, but with localization support",
|
||||||
"demo": "https://demo.ghost.io",
|
"demo": "https://demo.ghost.io",
|
||||||
"version": "5.8.0",
|
"version": "5.8.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=5.0.0"
|
"ghost": ">=5.0.0"
|
||||||
},
|
},
|
||||||
|
@ -64,7 +64,7 @@ which templates loop over to generate a list of posts. --}}
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<footer class="post-card-meta">
|
<footer class="post-card-meta">
|
||||||
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||||
{{#if reading_time}}
|
{{#if reading_time}}
|
||||||
<span class="post-card-meta-length">{{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
<span class="post-card-meta-length">{{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
2
post.hbs
2
post.hbs
@ -49,7 +49,7 @@ into the {body} tag of the default.hbs template --}}
|
|||||||
<div class="article-byline-meta">
|
<div class="article-byline-meta">
|
||||||
<h4 class="author-name">{{authors}}</h4>
|
<h4 class="author-name">{{authors}}</h4>
|
||||||
<div class="byline-meta-content">
|
<div class="byline-meta-content">
|
||||||
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||||
{{#if reading_time}}
|
{{#if reading_time}}
|
||||||
<span class="byline-reading-time"><span class="bull">•</span> {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
<span class="byline-reading-time"><span class="bull">•</span> {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user