How to access .Site.Params map with a .Params variable

That worked perfectly. For anyone else who is interested, here’s the code I used to get my author variable.

// In my partial ("Joe" is the map key in this example)
{{ $author := index .Site.Params.authors .Params.author }}
Name: {{ $author.name }}
Bio: {{ $author.bio }}

// In the page params
+++
author = "Joe"
...
+++

5 Likes