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

19 lines
362 B
Markdown
Raw Normal View History

2016-09-22 04:13:25 +02:00
---
title: "Post: Image (Caption)"
categories:
- Post Formats
tags:
- image
- Post Formats
---
{% include base_path %}
{% capture fig_img %}
![Foo]({{ basepath }}/assets/images/unsplash-gallery-image-3.jpg)
{% endcapture %}
<figure>
{{ fig_img | markdownify | remove: "<p>" | remove: "</p>" }}
<figcaption>Photo from Unsplash.</figcaption>
</figure>