Add anchors to titles