~xdavidwu/xdavidwu.link

683410bd8ab0bfa825d81eda5e6c7934084ba4b9 — Michael Rose 8 years ago 1d975c5 + 6664f97
Merge branch 'release/3.2.2'

# Conflicts:
#	CHANGELOG.md
2 files changed, 9 insertions(+), 2 deletions(-)

M CHANGELOG.md
M _includes/gallery
M CHANGELOG.md => CHANGELOG.md +6 -0
@@ 1,3 1,9 @@
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)

### Enhancement

- Add support for image captions in Magnific Popup overlays via the [`gallery` helper](https://github.com/mmistakes/minimal-mistakes/issues/334)

## [3.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.1)

### Bug Fixes

M _includes/gallery => _includes/gallery +3 -2
@@ 25,6 25,7 @@
        {% else %}
          "{{ img.url | prepend: "/images/" | prepend: base_path }}"
        {% endif %}
        {% if img.title %}title="{{ img.title }}"{% endif %}
      >
        <img src=
          {% if img.image_path contains "http" %}


@@ 32,7 33,7 @@
          {% else %}
            "{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
          {% endif %}
        alt="{% if img.alt %}{{ img.alt }}{% endif %}">
          alt="{% if img.alt %}{{ img.alt }}{% endif %}">
      </a>
    {% else %}
      <img src=


@@ 41,7 42,7 @@
        {% else %}
          "{{ img.image_path | prepend: "/images/" | prepend: base_path }}"
        {% endif %}
      alt="{% if img.alt %}{{ img.alt }}{% endif %}">
        alt="{% if img.alt %}{{ img.alt }}{% endif %}">
    {% endif %}
  {% endfor %}
  {% if include.caption %}