Ghost/ghost/admin/app/components/gh-post-bookmark.hbs

19 lines
819 B
Handlebars
Raw Normal View History

<div class="gh-post-bookmark flex flex-row">
{{#if @post.featureImage}}
<div class="gh-post-bookmark-image">
<img src={{@post.featureImage}} alt="" role="presentation" />
</div>
{{/if}}
<div class="flex flex-column">
<div class="gh-post-bookmark-title">{{@post.title}}</div>
<div class="gh-post-bookmark-text">{{@post.excerpt}}</div>
<div class="gh-post-bookmark-details flex flex-row">
{{#if @post.primaryAuthor.profileImage}}
<div class="gh-post-bookmark-author-image">
<img src={{@post.primaryAuthor.profileImage}} alt="" role="presentation" />
</div>
{{/if}}
<div class="gh-post-bookmark-authors">{{post-author-names @post}}</div>
</div>
</div>
</div>