forked from yevi.org/Ghost_Ruby_Theme
29 lines
992 B
Handlebars
29 lines
992 B
Handlebars
<div class="post-column col-xl-3">
|
|
<article class="{{post_class}}{{#unless feature_image}} no-image{{/unless}}">
|
|
{{> post-media same_height=true ratio="rectangle"}}
|
|
<div class="post-wrapper">
|
|
{{> post-header}}
|
|
{{#if excerpt}}
|
|
<div class="post-excerpt">
|
|
{{excerpt words="12"}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
<div class="post-meta">
|
|
{{#foreach authors}}
|
|
{{#if profile_image}}
|
|
<a class="post-author-image-link" href="{{url}}">
|
|
<img class="post-author-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}">
|
|
</a>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
<div class="post-meta-wrapper">
|
|
{{#foreach authors}}<a class="post-author-name-link" href="{{url}}">{{name}}</a>{{/foreach}}
|
|
<time class="post-date" datetime="{{date format="YYYY-MM-DD"}}">
|
|
{{date published_at timeago="true"}}
|
|
</time>
|
|
</div>
|
|
</div>
|
|
{{> post-footer}}
|
|
</article>
|
|
</div> |