I’m working on a Shopify store using custom Liquid templates with multiple dynamic sections on the product page. Each section is configurable from the theme customizer and may optionally output a heading. The issue I’m facing is that multiple sections can end up rendering <h1> tags, which is bad for SEO. Current simplified code: {% if section.settings.heading != blank %} <h1>{{ section.settings.heading }}</h1> {% endif %} This works visually,...
Originally asked by Test Developer on Stack Exchange (stackoverflow) (CC BY-SA 4.0).