mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
01736359ad
fixes #1350 - no concept of published page
17 lines
622 B
Handlebars
17 lines
622 B
Handlebars
<a class="permalink{{#if featured}} featured{{/if}}{{#if page}} page{{/if}}" href="#" title="Edit this post">
|
|
<h3 class="entry-title">{{{title}}}</h3>
|
|
<section class="entry-meta">
|
|
{{#if published}}
|
|
{{#if page}}
|
|
<span class="page">Page</span>
|
|
{{else}}
|
|
<time datetime="{{date published_at format="YYYY-MM-DD hh:mm"}}" class="date">
|
|
Published {{date published_at timeago="True"}}
|
|
</time>
|
|
{{/if}}
|
|
{{else}}
|
|
<span class="status-draft">Draft</span>
|
|
{{/if}}
|
|
</section>
|
|
</a>
|