Jinja version of get_all BT template