Using front matter in content of md-file

I have defined an image in my front matter and now wonder, how to use it in my content.

---
...
images:
- neulich-auf-der-faehre-930x523.jpg
---

In my content I would use

{{< figure src="###" caption="Neulich auf der Fähre" width="930" height="523" >}}

Is that somehow possible or would I need a shortcode telling him to use the first image of the frontmatter?

If you want to call that param in your template before or after .Content you should use with. If you want to place it within your .Content the simplest way is a shortcode.

1 Like