Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

patternPartial variable could be accessible in mustache templates #89

Open

Description

@vebersol

In Patternlab 1 it was possible to do that:

Opening http://localhost:8080/?p=atoms-colors

Example of source/_meta/_00-head.mustache

<body class="{% patternPartial %}">

The expected output is something like:

<body class="atoms-colors">

I've been trying to use the provided data, but I couldn't find anything related in documentation nor in issues somewhere.

Activity

  1. added a commit that references this issue on Aug 10, 2016
  2. dmolsen commented on Aug 10, 2016

    @dmolsen
    Member

    Thanks. I'll get this merged tomorrow evening and a new release pushed out.

  3. self-assigned this
    on Aug 10, 2016
  4. added a commit that references this issue on Aug 22, 2017
  5. sghoweri commented on Nov 5, 2017

    @sghoweri
    Contributor

    Out of curiosity @EvanLovely or @bmuenzenmeyer is this part of the Pattern Lab spec?

    If so, could one of you guys point me at where I should be referencing for these sorts of things? Thanks!

  6. bmuenzenmeyer commented on Nov 6, 2017

    @bmuenzenmeyer
    Member

    I was not aware of this being exposed, available data, though it's an interesting idea,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions