14 lines
345 B
HTML
14 lines
345 B
HTML
|
<figure>
|
||
|
{% if include.url %}
|
||
|
<a href="{{ include.url }}" title="{{ include.title }}" target="_blank">
|
||
|
{% endif %}
|
||
|
<img src="/assets/img/{{ include.name }}" alt="{{ include.title }}"/>
|
||
|
{% if include.url %}
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if include.caption %}
|
||
|
<figcaption>{{ include.caption }}</figcaption>
|
||
|
{% endif %}
|
||
|
</figure>
|