Skip to content

each overwrites data in the "data" property. #1327

@janthonyeconomist

Description

@janthonyeconomist

I am using handlebars as the templating engine of a gulp-metalsmith build system. I am using the metalsmith-data-loader to load a JSON file into the a data property; however, when I go to access that property in then handlebars template it is not the value of true. It seems to be linked to the access of the @index in an each block helper.

I presume the problem is in: handlebars.js/lib/handlebars/helpers/each.js however, I don't know enough about the expected params to really grok the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions