aleksip / plugin-data-transform

Data Transform Plugin for Pattern Lab PHP
GNU General Public License v2.0
34 stars 10 forks source link

include() should support longform-syntax #19

Open stmh opened 5 years ago

stmh commented 5 years ago

It would be great if include() can support also the "longform"-include syntax of twig, as this will give us more flexibility and avoid collisions when using more than 2 hierarchy-levels.

Here's an example of a possible collision:

long-form short-hand
@components/one/two/three components-three
@components/two/two/three components-three
aleksip commented 5 years ago

Thanks for the suggestion! Will look into this as soon as I find some time.