store-theme icon indicating copy to clipboard operation
store-theme copied to clipboard

Improve SEO performance on product-summary-name

Open carlosviniciusananias opened this issue 3 years ago • 1 comments

What problem is this solving? Calling the product-summary-name block by default renders a <h1></h1> tag with product name. This causes SEO problems since it is only correct to have one <h1></h1> per page.

How to test it? Workspace.

Add in product-summary.jsonc

"product-summary-name": {
    "props": {
      "tag": "div"
    }
},

A small example

with-h1

no-h1

How does this PR make you feel? 🔗

image

carlosviniciusananias avatar May 30 '21 16:05 carlosviniciusananias

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • [ ] Patch (backwards-compatible bug fixes)

  • [ ] Minor (backwards-compatible functionality)

  • [ ] Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • [ ] No thanks, I would rather do it manually 😞

vtex-io-ci-cd[bot] avatar May 30 '21 16:05 vtex-io-ci-cd[bot]