diff --git a/_includes/gallery b/_includes/gallery index 9e6f31ea7397..f1ef8c10cee5 100644 --- a/_includes/gallery +++ b/_includes/gallery @@ -25,6 +25,7 @@ {% else %} "{{ img.url | prepend: "/images/" | prepend: base_path }}" {% endif %} + {% if img.title %}title="{{ img.title }}"{% endif %} > {% if img.alt %}{{ img.alt }}{% endif %} + alt="{% if img.alt %}{{ img.alt }}{% endif %}"> {% else %} {% if img.alt %}{{ img.alt }}{% endif %} + alt="{% if img.alt %}{{ img.alt }}{% endif %}"> {% endif %} {% endfor %} {% if include.caption %}