mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-11-22 23:38:01 -05:00
10 lines
318 B
Text
10 lines
318 B
Text
|
<figure class="{{ include.class }}">
|
||
|
<img src="{{ include.image_path | relative_url }}"
|
||
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||
|
{%- if include.caption -%}
|
||
|
<figcaption>
|
||
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
||
|
</figcaption>
|
||
|
{%- endif -%}
|
||
|
</figure>
|