patternPartial variable could be accessible in mustache templates
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.
Thanks. I'll get this merged tomorrow evening and a new release pushed out.
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!
I was not aware of this being exposed, available data, though it's an interesting idea,