hacks-guide-minimal-mistake.../docs/_posts/2010-08-07-post-image-caption.md
2016-11-04 12:50:03 -04:00

17 lines
No EOL
346 B
Markdown

---
title: "Post: Image (Caption)"
categories:
- Post Formats
tags:
- image
- Post Formats
---
{% capture fig_img %}
![Foo]({{ "/assets/images/unsplash-gallery-image-3.jpg" | absolute_url }})
{% endcapture %}
<figure>
{{ fig_img | markdownify | remove: "<p>" | remove: "</p>" }}
<figcaption>Photo from Unsplash.</figcaption>
</figure>