New feature: Set the canonical in the <head>, and also fix the link to content pages. Fixes #279.