mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
13 lines
652 B
Handlebars
13 lines
652 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{{#if same_height}} u-object-fit{{/if}}"
|
|
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}} |