Add 4 new categories to the blog
Why is this change being made?
I had to add 4 new categories to the blog, they are:
- DevSecOps (Actually this one was written 'DecSecOps' in the original issue, but I guess it was a typo)
- DevSecOps platform
- Careers
- Product
Changes
I looked for all instances of existing categories list I found 3 files.
- search-filter.haml: This is the categories pill component, found on the blog homepage, I added all the new categories to it ✓
- category-nav.html.haml: This one is the left side nav found inside each category page, I added all the new categories to it ✓
- index.html.haml: This is the HTML for the blog homepage, the last part of the page has a 3 elements list with the 3 most recent posts and a thumbnail for each category. To update this section I'd need a thumbnail for those new categories and they should have at least one post tagged by the category name.
Possible issue
All the categories, except devsecops-platform, have posts tagged by their names. So if you click on 'DevSecOps Platform' link it'll be empty, resulting in an error page. Should we remove it or any new post is going to be added to it before the merge for production?
Closes gitlab-com/marketing/digital-experience/buyer-experience#1834 (closed)
Edited by Tieme Akamine