elastic/docs

Add ability to specify canonical URLs for pages

gtback opened this issue · 0 comments

There are times when a particular page has high SEO relevance, but we want to encourage search engines to return a different page instead. We can do this by adding a <link rel="canonical" ... element to the document <head> (driven by a Asciidoc attribute with the canonical URL). When implementing this, we'll have to be careful to respect chunking, as we only want the URL to be applied to a single page, not subsequent chunks/pages in the same book.