I have a markdown page with an image defined in the front matter as follows:
---
...
images : ["/path/to/my/image.png"]
---
Within the body of my markdown, I am trying to insert that image using the front matter page variable:
<img src="{{ index (.Params.images) 0 }}"/>
However, the function is inserted verbatim in my HTML and doesn’t seem to be parsed.
What am I doing wrong? Must I create a shortcode to do this first? This seems like a pretty common use case for it to be inbuilt.
Thanks!