add anchors to posts