Fix display of proper permalink in link canonical for posts, book notes, & pages