separate post View to DetailPost and IndexPost