mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-14 04:18:04 +00:00
0fc57a0bd0
- replaces created_at with publish_at in full-post.hbs and list-post.hbs
18 lines
741 B
Handlebars
18 lines
741 B
Handlebars
<article class="post type-post status-publish format-standard hentry">
|
|
{{#if image}}
|
|
<figure class="post-thumb">
|
|
<img width="550" height="250" src="/content/images/{{image}}" class="attachment-post-thumbnail wp-post-image" alt="ghostpost">
|
|
</figure>
|
|
{{/if}}
|
|
<div class="wrap">
|
|
<header>
|
|
<h2 class="entry-title h1"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2>
|
|
<span class="entry-meta">Published on <time class="updated" datetime="{{dateFormat published_at format='YYYY-MM-DD'}}">{{dateFormat published_at format='DD MMMM YYYY'}}</time></span>
|
|
</header>
|
|
|
|
<section class="entry-content">
|
|
{{{content_html}}}
|
|
</section>
|
|
</div>
|
|
</article>
|