Refactor link fixup code on landing page.
Clean up canonical settings doc.