15 lines
776 B
Handlebars
15 lines
776 B
Handlebars
|
{{#if feature_image}}
|
||
|
<figure class="gh-article-image">
|
||
|
<picture>
|
||
|
<source srcset="{{img_url feature_image size="xxl"}}" media="(min-width: 2000px)">
|
||
|
<source srcset="{{img_url feature_image size="xl"}}" media="(min-width: 1200px)">
|
||
|
<source srcset="{{img_url feature_image size="l"}}" media="(min-width: 960px)">
|
||
|
<source srcset="{{img_url feature_image size="m"}}" media="(min-width: 600px)">
|
||
|
<source srcset="{{img_url feature_image size="s"}}" media="(min-width: 320px)">
|
||
|
<img src="{{img_url feature_image size="xl"}}" alt="{{title}}">
|
||
|
</picture>
|
||
|
{{#if feature_image_caption}}
|
||
|
<figcaption>{{feature_image_caption}}</figcaption>
|
||
|
{{/if}}
|
||
|
</figure>
|
||
|
{{/if}}
|