Add canonical URLs to head
Part of #167 (closed).
We need a canonical link added dynamically to the <head> (in layouts/head.html)
-
*/index.htmland*/README.html=> canonical:*/. E.g.:docs.gitlab.com/index.html=> canonical :docs.gitlab.com/ -
docs.gitlab.com/ce/.../some_file.html=> canonical:docs.gitlab.com/ee/.../some_file.html
<link rel="canonical" href="http://www.yourdomain.com/your-preferred-url/" />
Todos:
-
All index.htmlandREADME.htmlfiles stripped -
Replace ce/withee/
Edited by Achilleas Pipinellis