[IMP] theme_*: improve SEO by correcting heading tag hierarchy

* anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, paptic, real estate,
treehouse, vehicle, yes, zap

This commit adapts all the `xpath` expressions inside design themes to
target the new heading tags that were changed within the snippet files.

task-4349019

closes odoo/design-themes#1043

Related: odoo/odoo#191300
Related: odoo/enterprise#92978
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2025-08-18 14:54:15 +02:00
committed by qsm-odoo
parent fee5fc75fe
commit 376ab972ea
93 changed files with 316 additions and 316 deletions
@@ -14,7 +14,7 @@
<attribute name="class" add="col-lg-12" remove="col-lg-3" separator=" "/>
</xpath>
<!-- Paragraphs -->
<xpath expr="//h3" position="replace">
<xpath expr="//h2" position="replace">
<h2>Beauty without <br/>expression is boring</h2>
</xpath>
<xpath expr="//p" position="replace" mode="inner">
@@ -15,7 +15,7 @@
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Unveil Your Natural Beauty
</xpath>
<!-- Paragraph 1 -->
+5 -5
View File
@@ -3,32 +3,32 @@
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Innovative Beauty Treatments for Radiant Results
</xpath>
<!-- Card 1 -->
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Premium Beauty Products
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
Discover our exclusive range of high-quality beauty products, crafted with natural ingredients to enhance your skin's radiance and health.
</xpath>
<!-- Card 2 -->
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Personalized Skincare Solutions
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Our experts provide tailored skincare consultations, recommending products and treatments designed specifically for your skin type and concerns.
</xpath>
<!-- Card 3 -->
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Advanced Beauty Treatments
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
Experience cutting-edge beauty treatments, from innovative facial therapies to advanced body treatments, designed to enhance your natural beauty.
</xpath>
<!-- Card 4 -->
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Expert Beauty Consultations
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
@@ -7,16 +7,16 @@
<attribute name="class" add="o_cc o_cc4 pt80 pb80" remove="pb48 pt48" separator=" "/>
</xpath>
<!-- Titles -->
<xpath expr="(//div[hasclass('col-lg-9')])[1]/h4" position="replace" mode="inner">
<xpath expr="(//div[hasclass('col-lg-9')])[1]/h3" position="replace" mode="inner">
Tony
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]/h4" position="replace" mode="inner">
<xpath expr="(//div[hasclass('col-lg-9')])[2]/h3" position="replace" mode="inner">
Mich
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[3]/h4" position="replace" mode="inner">
<xpath expr="(//div[hasclass('col-lg-9')])[3]/h3" position="replace" mode="inner">
Aline
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[4]/h4" position="replace" mode="inner">
<xpath expr="(//div[hasclass('col-lg-9')])[4]/h3" position="replace" mode="inner">
Iris
</xpath>
<!-- Images -->