diff --git a/_includes/figure.liquid b/_includes/figure.liquid index 31f52a2a1802..9087dd929961 100644 --- a/_includes/figure.liquid +++ b/_includes/figure.liquid @@ -1,69 +1,69 @@ {% assign img_path = include.path | remove: '.jpg' | remove: '.jpeg' | remove: '.png' | remove: '.tiff' | remove: '.gif' %} -{% if include.slot %} -
-{% else %} -
-{% endif %} - - - - {% if site.imagemagick.enabled %} - - {% endif %} - + + + + {% if site.imagemagick.enabled %} + - - - {% if include.caption %} -
{{ include.caption }}
{% endif %} + {{ include.alt }} +
+ + {% if include.caption %} +
{{ include.caption }}
+ {% endif %}
diff --git a/_includes/head.liquid b/_includes/head.liquid index e97bb3a3f277..1e5503359cab 100644 --- a/_includes/head.liquid +++ b/_includes/head.liquid @@ -78,6 +78,11 @@ {% endif %} {% if page.images.slider %} - + {% endif %} {% endif %} diff --git a/_includes/scripts/imageLayouts.liquid b/_includes/scripts/imageLayouts.liquid index 781dfea12b13..131fcbc198b6 100644 --- a/_includes/scripts/imageLayouts.liquid +++ b/_includes/scripts/imageLayouts.liquid @@ -3,6 +3,10 @@ {% endif %} {% if page.images.slider %} - + {% endif %} {% endif %}