12 lines
584 B
Plaintext
12 lines
584 B
Plaintext
<figure class="{{ include.class }}">
|
|
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup" title="{% if include.caption %}{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}{% endif %}">{%- endif -%}
|
|
<img src="{{ include.image_path | relative_url }}"
|
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
|
{%- if include.popup -%}</a>{%- endif -%}
|
|
{%- if include.caption -%}
|
|
<figcaption>
|
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
|
</figcaption>
|
|
{%- endif -%}
|
|
</figure>
|