add anchors to pages