I have a bunch of pages I’m linking in a partial. These pages have their own content defined in their <page_name>.md’s frontmatter. I need to access the params in those pages like how I would in their their layouts or single.html, but in a partial.
Example:
//content/page1.md
title: Page1 Title
//content/page2.md
title: Page2 Title
//layouts/partials/featured.hml
{{ Page1.Param "title" }}
{{ Page2.Param "title" }}
//layouts/page3/single.html
{{ partial "featured.html" . }}
Is there a way to do this?