Guide_Wii/_includes/figure
lifehackerhansol 4e7fce4b19
treewide: import snapshot of minimal mistakes 4.24.0 and guide-specific changes
Guide_3DS@4de4c0b4ba894ce6a0fa7662d951d55cf42fbe56
2023-09-28 19:53:01 -07:00

9 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>