Ghost/core/client/tpl/list-item.hbs
Hannah Wolfe 01736359ad Content pane update for static pages
fixes #1350

- no concept of published page
2013-11-28 10:48:50 +00:00

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>