added basic code for create a document fragment for post list