Getting Started with Twig Macros

How to build a basic Twig macro with arguments and defaults.

Here are all of the videos in Twig Macros in Craft CMS:

1Getting Started with Twig MacrosHow to build a basic Twig macro with arguments and defaults. 11:46
2Passing Data into Twig MacrosHow to pass hashes, arrays, _context variable and more into a Twig macro. 16:12

Loading next video...