mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
05c603ee2c
fixes #1703, fixes #1712 - featured star appears immediately for both draft and published items - featured star is never red & alignment /style is updated - improved markup and styling of statuses in general - added to feature tests
19 lines
671 B
Handlebars
19 lines
671 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">
|
|
<span class="status">
|
|
{{#if published}}
|
|
{{#if page}}
|
|
<span class="page">Page</span>
|
|
{{else}}
|
|
<time datetime="{{date published_at format="YYYY-MM-DD hh:mm"}}" class="date published">
|
|
Published {{date published_at timeago="True"}}
|
|
</time>
|
|
{{/if}}
|
|
{{else}}
|
|
<span class="draft">Draft</span>
|
|
{{/if}}
|
|
</span>
|
|
</section>
|
|
</a>
|