Skip to content

Pattern Parameters Not Always Working #240

@e2tha-e

Description

@e2tha-e

@bmuenzenmeyer Been wanting to contribute for a while, but was tied down with an insane deadline at work. Anyhow, the last version I had been using was 0.13.0, and after upgrading to 1.0.0, parameter submissions are broken.

To replicate:

  • Edit source/_patterns/04-pages/00-homepage.mustache
  • Replace with {{> templates-homepage(emergency: true) }}
  • In 0.13.0, it works as expected, showing the emergency text.
  • In 1.0.0 and the dev branch, everything above "Latest Posts" disappears.

I'm hoping to submit a pull request fairly soon in order to fix this, as well as making recursive parameter submission more robust.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions