A full introduction to using macros in Twig. Learn how to build a macro, organize macros, pass data into a macro, and more.
Twig Macros in Craft CMS is made up of the following videos:
|1||Getting Started with Twig Macros||How to build a basic Twig macro with arguments and defaults.||11:46|
|2||Passing Data into Twig Macros||How to pass hashes, arrays, _context variable and more into a Twig macro.||16:12|
|Course In-Progress||This course is still being updated with new content. Check back for more!|