_includes/figure in minimal-mistakes-jekyll-4.25.1 vs _includes/figure in minimal-mistakes-jekyll-4.26.0

- old
+ new

@@ -1,7 +1,9 @@ <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 -%}