Dynamically format formats data on main index; dynamically link to main index in header