~craftyguy/blog.craftyguy.net

cc68d329d915d1ab2aba0aab294797299f6a456e — Clayton Craft 4 months ago 0418c3f
shortcodes/resize_image: add support for setting a caption
1 files changed, 3 insertions(+), 0 deletions(-)

M templates/shortcodes/resize_image_fit_width.html
M templates/shortcodes/resize_image_fit_width.html => templates/shortcodes/resize_image_fit_width.html +3 -0
@@ 3,6 3,9 @@
  <center>
    <a href="{{ get_url(path=path|replace(from='static/', to='')) }}" target="_blank">
      <img src="{{ image.url }}" />
      {% if caption %}
      <figcaption>{{ caption }}</figcaption>
      {% endif %}
    </a>
  </center>
</div>