staticadventures

Bringing back the web forward


Macros are function-like structures that take input data and output other data. Macros are used to deal with repetitive patterns, making them easier to type out. In the context of a static-site generators, macros are special pieces of template that you use as functions to invoke more complex markup. Tera, Zola's templating engine, has docs on its macro system.