mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
20 lines
601 B
Handlebars
20 lines
601 B
Handlebars
<article class="{{post_class}}{{#unless feature_image}} no-image{{/unless}}">
|
|
{{#if featured}}
|
|
<img class="post-image lazyload u-object-fit"
|
|
data-src="{{img_url feature_image}}"
|
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
|
data-sizes="auto"
|
|
alt="{{title}}"
|
|
>
|
|
{{/if}}
|
|
{{> post-media same_height=true ratio="rectangle"}}
|
|
<div class="post-wrapper">
|
|
{{> post-header tag="h2"}}
|
|
{{#if excerpt}}
|
|
<div class="post-excerpt">
|
|
{{excerpt words="12"}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{> post-footer}}
|
|
</article> |