Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What's the purpose of this pull request? For SEO purposes, use the `name` info that is returned by Catalog's public API when the `title` is `null`. This will be mainly useful for Collection pages, in which the `title` is always `null`. ## How it works? Through the nullish coalescing operator (`??`), when `title` doesn't exist, the `name` will be used. ## How to test it? Check if the metatag for title is being built correctly on a Collection page. For example, for the `Just Arrived` collection on `storeframework` account: |Before|After| |----|----| |<img width="1434" alt="Screenshot 2025-01-24 at 15 46 26" src="https://github.com/user-attachments/assets/a8b8029c-fad1-44fb-8f10-65745e772986" />|<img width="1433" alt="Screenshot 2025-01-24 at 15 48 19" src="https://github.com/user-attachments/assets/571153e7-9a4c-4ff8-9651-1c1bd1acdd61" />| ### Starters Deploy Preview https://storeframework-cm652ufll028lmgv665a6xv0g-mygqwn0js.b.vtex.app/ ([PR](vtex-sites/starter.store#656))
- Loading branch information