chaijs / chaijs.github.io

The chaijs.com website source code. Contributions welcome.
http://chaijs.github.io
49 stars 71 forks source link

Fix canonical URL #164

Closed lucasfcosta closed 6 years ago

lucasfcosta commented 6 years ago

Since github already overwrites site.url, we don't need to prepend site.github.url.

GitHub Pages overrides the "Site Source" configuration value, so if you locate your files anywhere other than the root directory, your site may not build correctly.

As you can see, before this PR, we have a duplicate url there:

screen shot 2018-03-14 at 09 02 59