updated course template to only show fields if there is data, also, fixed ul list logic to avoid bad markup