Skip to content

Draft: Add metatags for breadcrumbs and site section

Sarah German requested to merge 21-search-metatags into main

What does this MR do and why?

Adds the gitlab-docs-breadcrumbs and gitlab-docs-section metatags. These are used for filtering search results and showing the breadcrumb trail alongside each search result.

WIP. Something about this MR significantly slows down the site compile (before: ~3s / after: ~13s) 😱

Relates to #21

Screenshots, screen recordings, or links to review app

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sarah German

Merge request reports