made blogposts not dependant on js