Can't access nested Param

On my frontmatter I have the following information.

---
title: "Thank You For Your Email"
subtitle: "Someone from our team will be in touch shortly."
date: 2018-10-24T12:56:20+01:00
draft: false
options:
  - simpleFormShowOnPage: true
---

When I run {{ $.Page.Params.options }} I get the result [map[simpleFormShowOnPage:true]]

But if I try to access it with {{ .Param "options.simpleFormShowOnPage" }} the output is simply nothing.

What am I missing here? Are there any extra steps because the output is a “map” ?

Try

options:
  simpleFormShowOnPage: true

Your current FM creates an array with one object containing one key.

2 Likes

That was it! Thank you @regis :smiley:

1 Like