hacks-guide-minimal-mistake.../_posts/2010-08-07-post-image-caption.md

19 lines
356 B
Markdown
Raw Normal View History

---
2016-03-04 12:37:24 -05:00
title: "Post: Image (Caption)"
categories:
- Post Formats
tags:
- image
- Post Formats
---
2016-03-07 09:51:50 -05:00
2016-04-01 16:22:05 -04:00
{% include base_path %}
{% capture fig_img %}
2016-04-01 16:22:05 -04:00
![Foo]({{ base_path }}/images/unsplash-gallery-image-3.jpg)
{% endcapture %}
<figure>
2016-03-25 10:21:08 -04:00
{{ fig_img | markdownify | remove: "<p>" | remove: "</p>" }}
2016-04-01 16:22:05 -04:00
<figcaption>Photo from Unsplash.</figcaption>
</figure>