Skip to content

Support Partials blocks #72

@chrislondon

Description

@chrislondon

HandlebarsJS has support for partials blocks. An example would be:

myPartial:

<div>
    {{> @partial-block }}
</div>

template:

{{> myPartial }}
  <p>Some content here</p>
{{/myPartial}}

Would render:

<div>
    <p>Some content here</p>
</div>

When I try doing this I get the error: pybars._compiler.PybarsError: Error at character 25 of line 34 near {{/myPartial}}

I assume the reason I'm getting the error is because this isn't supported yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions