hacks-guide-minimal-mistake.../_posts/2010-08-07-post-image-caption.md
2016-04-01 16:22:05 -04:00

19 lines
No EOL
356 B
Markdown

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