codeninjasuk.github.io/test/_posts/2010-08-07-post-image-caption.md

17 lines
346 B
Markdown
Raw Normal View History

2023-07-18 11:33:33 -04:00
---
title: "Post: Image (Caption)"
categories:
- Post Formats
tags:
- image
- Post Formats
---
{% capture fig_img %}
![Foo]({{ '/assets/images/unsplash-gallery-image-3.jpg' | relative_url }})
{% endcapture %}
<figure>
{{ fig_img | markdownify | remove: "<p>" | remove: "</p>" }}
<figcaption>Photo from Unsplash.</figcaption>
</figure>