The following is the unsuccessful code
{{#each ['Home', 'About']}}
<p>{{this}}</p>
{{/each}}
I understand that I can define the array in js and pass it to handlebars to have it render successfully. But I want to do this only in the template. Sometimes I just need a super simple loop, like in my example.
I saw some older posts that required registering a helper
but can't the built-in helper #with
/ #each
do that?