Simplify and improve code for titles
What does this MR do and why?
For gitlab-org/technical-writing-group/gitlab-docs-hugo#56, we want to manipulate titles as little as possible.
After we stopped putting badges in titles, I think we can remove a bunch of that manipulation.
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 Evan Read