You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
We're building a WordPress starter theme which uses patternlab as a dependency in order for us to work using atomic design.
The idea is to re-use the templates created in patternlab in our theme. However, using the normal twig way of doing things doesn't work as it can't interpret the shorthand syntax (http://patternlab.io/docs/pattern-including.html).
Where is this set in the patternlab twig code? And how can we reuse it outside of patternlab?
Thanks!
PS The theme will be open source and we'd love to share it with the patternlab community!
The text was updated successfully, but these errors were encountered:
Hey @adamf321,
Thanks for your interest in making a Wordpress theme that has Pattern Lab baked in. That sounds fantastic!
Where is this set in the patternlab twig code? And how can we reuse it outside of patternlab?
I'm not the best person to answer this as I'm a bit outside of the nitty gritty, but perhaps @EvanLovely could share how they did it for the Drupal edition?
I already discussed it with Dave Olsen in the Gitter room, I think it will all work nicely once we can order patterns without adding the numeration to the name (e.g. 01-my-organism). Until then we'll have to live with it being a bit more messy than I'd like.
We're building a WordPress starter theme which uses patternlab as a dependency in order for us to work using atomic design.
The idea is to re-use the templates created in patternlab in our theme. However, using the normal twig way of doing things doesn't work as it can't interpret the shorthand syntax (http://patternlab.io/docs/pattern-including.html).
Where is this set in the patternlab twig code? And how can we reuse it outside of patternlab?
Thanks!
PS The theme will be open source and we'd love to share it with the patternlab community!
The text was updated successfully, but these errors were encountered: