Hello, I’m working on a blog and trying to create a Featured Post thing. I initially found a thread here, but the thread is a few years old and didn’t quite give me the answer I need. (Best practice to set post as featured)
I’m still very new so I don’t know if I’m calling things their proper name, but I have a file in content
called _index.md
which has front matter featured_post = "posts/test-post-original.md"
and this is controlled by a dropdown in Forestry which selects a Post. All of that functionality is good except that when I try to access .Params.featured_post
all it contains is a string. In Javascript (my main language) this might be a whole post object and I could access all of its .Params. How can I get this effect in Hugo? Or, what is the correct way to do this? Thank you very much for your help