Multiple Side-Effects

[% if add_header fill site/header with title='Hello World' %] [% fill menu/item with link = item.link title = item.text.ucfirst for item in site.menu if add_menu %] --EOF--
look inside...
Thus Spake Andy:

You can chain together as many block commands as you like. This style is evocative (to me, at least) of SQL where complex queries are constructed from a number of sub-clauses (in fact, it wouldn't be too hard to write a LINQ-like data query language to plug into TT3 but that's for another day)