Skip to content

Please allow more flexible Mustache partial syntax #146

Closed
@e2tha-e

Description

@e2tha-e

I have a Pattern Lab implementation I'm porting over from PHP. The PHP version allows the following syntax for partials:

  • {{> templates-article }}
  • {{> 03-templates/02-article }}
  • {{> 03-templates/02-article.mustache }}

The Node version only allows the first. The greater flexibility of the PHP version is mandatory for my implementation. I'm submitting a pull request to allow for this. Please review, comment, and merge. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions