Skip to content

Conversation

@TxHawks
Copy link
Contributor

@TxHawks TxHawks commented Apr 18, 2016

Indicate that all patterns can be extended, and the specific use-case of extending a pattern from source/_layouts.

Closes #17

Indicate that all patterns can be extended, and the specific use-case of extending a pattern from `source/_layouts`.

Closes pattern-lab#17
@EvanLovely
Copy link
Member

Thanks for adding this! Could you also add one more part? So if there are two template files in the same directory, then it's also possible to not have the first part (molecultes-, templates-, etc). If you had file1.twig and file2.twig in the same directory, you could use this in file2.twig: {% extend "file1.twig" %}.

@EvanLovely
Copy link
Member

I can actually just do this; thanks for chipping in!!

@EvanLovely EvanLovely merged commit 16ed789 into pattern-lab:master Apr 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants