EtchDroid/docs/_includes/image.html
2018-12-04 01:22:11 +01:00

10 lines
527 B
HTML

<div class='image no-ads-here text-center' itemscope itemtype='http://schema.org/ImageObject'>
<a href='{% if include.link %}{{ include.link }}{% else %}{{ include.src }}{% endif %}' title='{{ include.caption }}'>
<img src='{{ include.src }}' alt='{{ include.caption }}' class='img-responsive img-thumbnail' itemprop='contentUrl'{% if include.style %} style="{{ include.style }}"{% endif %}>
</a>
{% if include.caption %}
<em class='caption' itemprop='description'>
{{ include.caption | markdownify }}
</em>
{% endif %}
</div>