Fix canonical page logic for single page sites