How can I fix a missing H1 tag in the Debut theme?

Topic summary

A Shopify store owner using the Debut theme discovered their homepage is missing an H1 tag according to an SEO audit. They suspect the issue relates to the site logo in the header.liquid file.

Technical Details:

  • The current code conditionally wraps the logo in an H1 tag on the homepage and a div on other pages
  • The user shared their header.liquid code, which appears corrupted or improperly formatted in the discussion
  • Store URL provided: www.lindaadiele.com

Current Status:

  • Another user requested the store URL to investigate
  • The original poster shared the URL and is awaiting technical assistance
  • No solution has been provided yet; the discussion remains open
Summarized with AI on November 18. AI used: claude-sonnet-4-5-20250929.

My SEO audit reveals an absence of H1 tag on my home page. I believe it’s referencing the logo.
Please how can I modify this code in the header.liquid ?

{% comment %} Use the uploaded logo from theme settings if enabled. Site name gets precedence with H1 tag on homepage, div on other pages. {% endcomment %} {% if request.page_type == 'index' %}

{% else %}
{% endif %} {% if section.settings.logo %} {%- assign img_url = section.settings.logo | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%} {% capture logo_alt %}{{ section.settings.logo.alt | default: shop.name }}{% endcapture %} {{ logo_alt | escape }} {% capture image_size %}{{ section.settings.logo_max_width | escape }}x{% endcapture %} {{ section.settings.logo.alt | default: shop.name }} {% else %} {{ shop.name }} {% endif %} {% if request.page_type == 'index' %}

{% else %}
{% endif %}

@oziomazart

Please share your store URL!

Thanks!

www.lindaadiele.com

Thank you.

Hi. Were you able to have a look? I did share the URL.

www.lindaadiele.com