our-status-site-theme/partials/loop.hbs

30 lines
1.3 KiB
Handlebars
Raw Normal View History

2019-03-14 15:45:43 +00:00
<article class="{{post_class}}" data-id={{comment_id}}>
<div class="post-inner-content">
{{#if feature_image}}
<a class="post-card-image-link" href="{{url}}">
<img class="post-card-image" src="{{img_url feature_image size="m"}}" alt="{{title}}" />
</a>
{{/if}}
<div class="inner">
{{#if primary_tag}}
<div class="tags"><a href="{{primary_tag.url}}">{{primary_tag.name}}</a></div>
{{/if}}
2019-03-14 15:45:43 +00:00
<h2 class="post-title"><a href="{{url}}" title="{{title}}">{{title}}</a></h2>
<p>{{excerpt words="25"}}</p>
2019-03-14 15:45:43 +00:00
<div class="post-meta">
<ul class="authors">
{{#foreach authors}}
<li>
<a href="{{url}}" data-toggle="tooltip" data-placement="top" title="{{name}}">
{{#if profile_image}}
<img src="{{img_url profile_image}}" alt="{{name}}" />
{{/if}}
</a>
</li>
{{/foreach}}
</ul>
2019-03-14 15:45:43 +00:00
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMMM YYYY"}}</time>
</div>
</div>
</div>
</article>