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

19 lines
356 B
Markdown
Raw Normal View History

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