Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Possible to use dot / paths with registered helper? #131

@kezzbracey

Description

@kezzbracey

Hi, first thanks for this awesome project. It's allowing me to work on a project I've been wanting to do for ages.

What I'm trying to do at the moment is register the helper "@blog" to emulate something done in express.

I'd like to be able to use it like so:

{{@blog.title}}

However I can't figure out how to go about it.

I can get this working:

{{#@blog}} {{title}} {{/@blog}}

And without the @ symbol:

{{blog.title}}

Could anyone give me any advice?

Thanks!

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