Add post function to index site