sets up routes and blog page compilation