Added the template_filename to return the name of the primary template being rendered (ie ‘advanced_search’ or ‘category_browse’).
template_filename