allow menu templates to access the current tree item through {{ current_item }}