Skip to content

Pseudo-patterns do not work in PL 2.11.0 and above #711

@dnwhte

Description

@dnwhte

Pseudo-patterns are not working as expected in PL 2.11.0 and above. I've tested 2.10.0, 2.11.0, 2.11.1, and 2.12.0.

In all versions over 2.10.0 the pseudo-pattern data is available in all pattern instances. In the example found at http://patternlab.io/docs/pattern-pseudo-patterns.html the emergency message would always be shown.

homepage.mustache

<div id="main-container">
    {{# emergency }}
        <div class="emergency">Oh Noes! Emergency!</div>
    {{/ emergency }}
    { ...a bunch of other content... }
</div>

00-homepage~emergency.json

{
    "emergency": true
}

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