30 lines
1.3 KiB
Handlebars
30 lines
1.3 KiB
Handlebars
<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}}
|
|
<h2 class="post-title"><a href="{{url}}" title="{{title}}">{{title}}</a></h2>
|
|
<p>{{excerpt words="25"}}</p>
|
|
<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>
|
|
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMMM YYYY"}}</time>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article> |