add canonical links to all generated html pages

@tfoote Please review