How can I use a variable containing string 'nav' (from a markdown file) instead of nav (a json file) in:
{{#each nav}}
{{this}}
{{/each}}
As I have more than one nav.json file, if I use a variable from the respective markdown file, I want it to loop through the respective json file with the same filename as the variable from markdown.
Any help?