Hi. In Jekyll I can use Front Matter in a content page (not template) like so:
`
—
text: “This is my wonderful text”
—
<p>{{ page.text }}</p>
`
Is this not possible in Hugo?
Tnx, Leo
Hi. In Jekyll I can use Front Matter in a content page (not template) like so:
`
—
text: “This is my wonderful text”
—
<p>{{ page.text }}</p>
`
Is this not possible in Hugo?
Tnx, Leo
I’m not sure the question, as posed, was answered… Can frontmatter be used directly within the same file’s content body? Or do you have to make a shortcode that has templating code to pull out the parameter and display it?
@Leo_Merkel Wondering if you had any luck with this?