{{#gh-content-view-container as |container|}}
{{#gh-view-title openMobileMenu="openMobileMenu"}}Content{{/gh-view-title}}
{{#link-to "editor.new" class="btn btn-green" title="New Post"}}New Post{{/link-to}}
{{#gh-infinite-scroll-box tagName="section" classNames="content-list-content js-content-scrollbox" fetch="loadNextPage"}}
    {{#each sortedPosts key="id" as |post|}} {{#gh-posts-list-item post=post active=(is-equal post currentPost) onDoubleClick="openEditor" previewIsHidden=container.previewIsHidden as |component|}} {{#link-to component.viewOrEdit post.id class="permalink" title="Edit this post"}}

    {{post.title}}

    {{/link-to}} {{/gh-posts-list-item}} {{/each}}
{{/gh-infinite-scroll-box}}
{{outlet}}
{{/gh-content-view-container}}