How to reference 2-word variable from front matter in my HTML?

I have this attribute in Hugo’s frontmatter:

featured_secondary: Some sentence here.

Now, I want to display the content of it in my HTML like this:

<div>{{ if .Params.FeaturedSecondary }}{{ .Params.FeaturedSecondary }}{{ end }}</div>

But this does not work - I don’t know how to reference correctly 2-word variable with underscore.

you can acces it directly via go object dot notation:

`<div>{{ if .Params.featured_secondary}}{{ .Params.featured_secondary }}{{ end }}</div>`

For key under Frontmatter .Params the allowed character are: a-z and _