Skip to main content
Martin Hähnel

Soooo, I managed to make a new tag for #twig. It was surprisingly complex. But I learned a lot. Interesting, how easy #eleventy made the process of adding (paired) shortcodes (while supporting multiple rendering engines no less!). If you want to do something like this by hand in twig, because you are noddeling around making your own static site generator, you have to understand the template parsing process more or less in toto.

On the other hand, now I know™ how it works and that's nice, too!