mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
14 lines
571 B
Handlebars
14 lines
571 B
Handlebars
|
{{#if feature_image}}
|
||
|
<div class="post-media">
|
||
|
<div class="u-placeholder{{#if same_height}} same-height {{ratio}}{{/if}}">
|
||
|
<a class="post-image-link" href="{{url}}">
|
||
|
<img class="post-image lazyload u-object-fit"
|
||
|
data-srcset="{{img_url feature_image size="s"}} 400w, {{img_url feature_image size="m"}} 750w, {{img_url feature_image size="l"}} 960w"
|
||
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
||
|
data-sizes="auto"
|
||
|
alt="{{title}}"
|
||
|
>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{/if}}
|