PortableInfobox/templates/PortableInfoboxItemImageMobileExperimental.mustache
2016-04-06 15:33:56 +02:00

15 lines
639 B
Plaintext

<div class="pi-item pi-image">
<figure class="article-media-thumbnail" data-component="article-media-thumbnail" data-attrs="{{mercuryComponentAttrs}}">
<a href="{{url}}">
<img class="article-media-placeholder"
src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 {{width}} {{height}}'%2F%3E"
alt="{{title}}"
{{#width}} width="{{width}}"{{/width}}
{{#height}} height="{{height}}"{{/height}}>
<noscript>
<img src="{{url}}" alt="{{alt}}"{{#width}} width="{{width}}"{{/width}}{{#height}} height="{{height}}"{{/height}}>
</noscript>
</a>
</figure>
</div>