For the life of me I cannot get this template to compile. I get :1 SyntaxError: Invalid or unexpected token
, the unexpected token is the first character which is a #
. currentDateTime
is a custom helper which outputs a formatted timestamp.
Template is defined like:
const defaultChangelogTemplate = `# Release {{releaseNumber}} - {{currentDateTime}}
{{#each entryGroups}}## {{capitalize label}}
{{#each items}}- {{this}}
{{/each}}
{{/each}}
---
`;