Skip to content

Elastic crawler is indexing the global nav

Content from the global nav and other site-wide elements are being picked up by the crawler. Crawl directives like elastic-data-include are not working as expected.

Workaround: Use the Hugo site: https://new.docs.gitlab.com

The Hugo site does have the same issue, but the global nav is not part of it, so it's less apparent. On the Hugo site, we build the nav with JavaScript, so it's not part of the HTML source and thus not possible to crawl.

Edited by Sarah German