dates index page rendering dynamically