2014-03-02 18:30:35 +04:00
|
|
|
<section class="content-view-container">
|
|
|
|
<section class="content-list js-content-list">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<section class="content-filter">
|
|
|
|
<small>All Posts</small>
|
|
|
|
</section>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{#link-to "new" class="button button-add" title="New Post"}}<span class="hidden">New Post</span>{{/link-to}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</header>
|
2014-06-02 00:29:25 +04:00
|
|
|
{{#view "content-list-content-view" tagName="section"}}
|
2014-03-02 18:30:35 +04:00
|
|
|
<ol class="posts-list">
|
2014-03-10 01:20:05 +04:00
|
|
|
{{#each itemController="posts/post" itemView="post-item-view" itemTagName="li"}}
|
2014-03-10 07:44:08 +04:00
|
|
|
{{!-- @TODO: Restore functionality where 'featured' and 'page' classes are added for proper posts --}}
|
2014-06-02 00:29:25 +04:00
|
|
|
{{#link-to "posts.post" this class="permalink" title="Edit this post"}}
|
2014-03-10 01:20:05 +04:00
|
|
|
<h3 class="entry-title">{{title}}</h3>
|
|
|
|
<section class="entry-meta">
|
|
|
|
<span class="status">
|
|
|
|
{{#if isPublished}}
|
2014-03-10 07:44:08 +04:00
|
|
|
{{#if page}}
|
|
|
|
<span class="page">Page</span>
|
|
|
|
{{else}}
|
|
|
|
<time datetime="{{unbound published_at}}" class="date published">
|
2014-05-28 23:26:05 +04:00
|
|
|
Published {{gh-format-timeago published_at}}
|
2014-03-10 07:44:08 +04:00
|
|
|
</time>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
<span class="draft">Draft</span>
|
2014-03-10 01:20:05 +04:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</section>
|
|
|
|
{{/link-to}}
|
2014-03-02 18:30:35 +04:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2014-05-24 07:25:20 +04:00
|
|
|
{{/view}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
|
|
|
<section class="content-preview js-content-preview">
|
|
|
|
{{outlet}}
|
|
|
|
</section>
|
|
|
|
</section>
|