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.

Using Dynamic Partial Names #171

@salvoV81

Description

@salvoV81

Hi,

I'm trying to load partial dynamically

{{#each metaData.sections}}
{{#if this.type}}
{{> this.type}}
{{/if}}
{{/each}}

but I get a ERR_CONTENT_DECODING_FAILED error on chrome, does anybody have any idea of what the issue could be?

I've tried various solutions but nothing seems to be working

{{> (this.type)}}

{{> ({{this.type}})}}

{{> "this.type"}}

{{> (lookup . 'this.type'}}

Nothing seems to do the trick.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions