Haddock: Add canonical tag to homepage for SEO

I would love to hear some opinions on this proposal for Haddock:


Add the cabal homepage attribute as rel=canonical to the contents page of Haddocks.


Where should a Google search for a package take you?

  1. To the package Hackage?
  2. To the project homepage (most often the Github repo)?

If the answer is (2), (which is my opinion, since homepges tend to contain fuller descriptions and point to further resources), then adding a canonical tag should search engines pick this up.

Comments are probably best off in the repo.

1 Like