In my Express.js Handlebars code, I am facing an issue with the accessibility of page.path
.
{{page.path}}
{{#each navigation}}
{{page.path}}
{{/each}}
The problem is that although page.path
is accessible outside of the #each
block, it does not work within the scope of that block. How can I ensure that page.path
is functional inside the #each
block?