PortableInfobox/templates/PortableInfoboxItemImageMobileExperimental.mustache

11 lines
589 B
Plaintext
Raw Normal View History

2016-02-08 14:57:57 +00:00
<div class="pi-item pi-image">
<figure class="article-media-thumbnail" data-component="article-media-thumbnail" data-attrs="{{mercury-component-attrs}}">
2016-02-08 14:57:57 +00:00
<a href="{{url}}">
<img 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}}>
2016-02-08 14:57:57 +00:00
<noscript>
<img src="{{url}}" alt="{{alt}}"{{#width}} width="{{width}}"{{/width}}{{#height}} height="{{height}}"{{/height}}>
2016-02-08 14:57:57 +00:00
</noscript>
</a>
</figure>
</div>