adds html conditional for if lists are empty