Updated open and close if statement to link properly.

Edited and revised errors in the if statement to have the pages link
properly together. Still having issues with the Dinosaurs page CSS.
Text is squished and not styled properly.