Fix edit links
What does this MR do and why?
Brings back missing "Edit this page" links. The page-source-project
partial was not getting the full site context that it needed to find $.Site.Data.products
.
We introduced a regression in the refactor in !91 (merged).
Closes #81
Screenshots
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md. -
View a standard content page (anything except homepage, /shortcodes, /search, and /archives). Links to edit the page should appear in the "Help and Feedback" panel, as well as in the footer.
Note that links to _index.md
will not resolve yet, as we have not yet renamed the source files (#82).
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.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Sarah German