Skip to content

Patterns with Pattern Parameters Cannot Be Overwritten Downstream #250

Closed
@e2tha-e

Description

@e2tha-e

To replicate:

  • Edit source/_patterns/04-pages/00-homepage.mustache
  • Replace the content with this mustache code: {{> templates-homepage(emergency: true) }}
  • This will render correctly in the Pattern Lab UI.
  • Edit source/_patterns/03-templates/00-homepage.mustache
  • Replace {{> molecules-alert }} with {{> molecules-alert(alertClass: 'error') }}
  • This causes the emergency block to disappear instead of appearing with the correct alert class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions