mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Content pane update for static pages
fixes #1350 - no concept of published page
This commit is contained in:
parent
6c5b687f13
commit
01736359ad
1 changed files with 8 additions and 8 deletions
|
@ -1,16 +1,16 @@
|
||||||
<a class="permalink{{#if featured}} featured{{/if}}{{#if page}} page{{/if}}" href="#" title="Edit this post">
|
<a class="permalink{{#if featured}} featured{{/if}}{{#if page}} page{{/if}}" href="#" title="Edit this post">
|
||||||
<h3 class="entry-title">{{{title}}}</h3>
|
<h3 class="entry-title">{{{title}}}</h3>
|
||||||
<section class="entry-meta">
|
<section class="entry-meta">
|
||||||
<time datetime="2013-01-04" class="date">
|
{{#if published}}
|
||||||
{{#if published}}
|
{{#if page}}
|
||||||
Published {{date published_at timeago="True"}}
|
<span class="page">Page</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="status-draft">Draft</span>
|
<time datetime="{{date published_at format="YYYY-MM-DD hh:mm"}}" class="date">
|
||||||
|
Published {{date published_at timeago="True"}}
|
||||||
|
</time>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</time>
|
{{else}}
|
||||||
{{#if page}}
|
<span class="status-draft">Draft</span>
|
||||||
| <span class="page">Static Page</span>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{!<span class="views">1,934</span>}}
|
|
||||||
</section>
|
</section>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue