Instead of setting each of these to different variables, it would probably make the template cleaner to just push them onto an array and loop through that in the template.