use get_param: for key_name: in subtemplate instead of get_resource: