Complete the index template in PostController