Chaged static pages to nt build any data and just render the template. Implementing the custom page template to create those endpoints dynamically.