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

18 lines
373 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
- shortcode
---
2016-03-07 15:51:50 +01:00
{% capture fig_img %}
![Foo](http://wpthemetestdata.files.wordpress.com/2008/06/100_5478.jpg?w=604)
{% endcapture %}
<figure>
2016-03-25 15:21:08 +01:00
{{ fig_img | markdownify | remove: "<p>" | remove: "</p>" }}
<figcaption>Bell on wharf in San Francisco</figcaption>
</figure>