tmpl: block nesting support