cleanup snippet routes to now have head, header, and footer