built initial index and post pages