Closed romanovma closed 7 years ago
Hi, the include()
d files should be Twig pattern files or pseudo-pattern data files. The name of the included file should be in standard Pattern Lab shorthand include syntax, and it can be anywhere in the Pattern Lab directory structure. The included file can be added in the respective Twig file using {{ key }}
.
Thanks a lot!
Hi, could you please provide more info on how to use
Include pattern files
feature? It doesn't work for me, may be I do something wrong.Where to store the
html
pattern file? Is it relative path to it? How to put this parameter into twig?{{ key }}
?Thank you.