[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
@@ -12,8 +12,8 @@
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<h2>Live the Miraillet <br/>Festival experience</h2>
<xpath expr="//h2" position="replace" mode="inner">
Live the Miraillet <br/>Festival experience
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
+1 -1
View File
@@ -11,7 +11,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">
Music That Moves You
</xpath>
<!-- Paragraph 1 -->
+5 -5
View File
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Experience the Best of Our Festival
</xpath>
<!-- Card 1 -->
@@ -15,7 +15,7 @@
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Engaging Social Activities
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
@@ -26,7 +26,7 @@
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Incredible Lineup of Artists
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
@@ -37,7 +37,7 @@
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Exclusive Festival Merchandise
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
@@ -48,7 +48,7 @@
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
High-Quality Music Experience
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc o_cc2 pb128" remove="pb48" separator=" "/>
</xpath>
<!-- Member #1 -->
<xpath expr="//div[hasclass('col-lg-9')]//h4" position="replace" mode="inner">
<xpath expr="//div[hasclass('col-lg-9')]//h3" position="replace" mode="inner">
Tony
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace" mode="inner"/>
@@ -15,7 +15,7 @@
Tony is praised for the quality of his flow and beats but often criticised because of the controversial nature of his lyrics. He has also established a label, and developed a line of jewellery.
</xpath>
<!-- Member #2 -->
<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">
Aline
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p" position="replace" mode="inner"/>
@@ -23,7 +23,7 @@
Aline is a French singer, songwriter and producer. In 2016, she was ranked as the most powerful and influential French person by Vanity Fair, who noticed her radiance of French genius.
</xpath>
<!-- Member #3 -->
<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">
Mich Starck
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[3]//p" position="replace" mode="inner"/>
@@ -31,7 +31,7 @@
Mich Starck is a French DJ, record producer and songwriter. He has sold over nine million albums and thirty million singles worldwide. In 2011, he was voted as the number one DJ in the DJ Mag Top 100 DJs poll.
</xpath>
<!-- Member #4 -->
<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">
Joseris
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[4]//p" position="replace" mode="inner"/>
@@ -2,11 +2,11 @@
<odoo>
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Discover our talented artists
</xpath>
<!-- Team #01 - Title -->
<xpath expr="//h4" position="replace" mode="inner">
<xpath expr="//h3" position="replace" mode="inner">
Tony
</xpath>
<!-- Team #01 - Work Description -->
@@ -15,7 +15,7 @@
</xpath>
<!-- Team #02 - Title -->
<xpath expr="(//h4)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Mich
</xpath>
<!-- Team #02 - Work Description -->
@@ -24,7 +24,7 @@
</xpath>
<!-- Team #03 - Title -->
<xpath expr="(//h4)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Aline
</xpath>
<!-- Team #03 - Work Description -->
@@ -33,7 +33,7 @@
</xpath>
<!-- Team #04 - Title -->
<xpath expr="(//h4)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Iris
</xpath>
<!-- Team #04 - Work Description -->
@@ -4,7 +4,7 @@
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Little block #01 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="replace" mode="inner">
<xpath expr="//div[hasclass('col-lg-4')]/h2" position="replace" mode="inner">
Brussels
</xpath>
<!-- Paragraph -->
@@ -14,7 +14,7 @@
<!-- Little block #02 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="replace" mode="inner">
<xpath expr="//div[hasclass('col-lg-4')][2]/h2" position="replace" mode="inner">
Paris
</xpath>
<!-- Paragraph -->
@@ -24,7 +24,7 @@
<!-- Little block #03 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="replace" mode="inner">
<xpath expr="//div[hasclass('col-lg-3')]/h2" position="replace" mode="inner">
Barcelona
</xpath>
<!-- Paragraph -->
@@ -34,7 +34,7 @@
<!-- Little block #04 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="replace" mode="inner">
<xpath expr="//div[hasclass('col-lg-3')][2]/h2" position="replace" mode="inner">
Amsterdam
</xpath>
<!-- Paragraph -->
@@ -21,8 +21,8 @@
<xpath expr="//div[hasclass('s_card')]" position="attributes">
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('s_card')]//h5" position="replace">
<h4 class="card-title">Belgium Tour</h4>
<xpath expr="//div[hasclass('s_card')]//h2" position="replace">
<h2 class="card-title h4-fs">Belgium Tour</h2>
</xpath>
<xpath expr="//div[hasclass('s_card')]//p" position="replace">
<p class="o_small_fs">24th AUGUST</p>
@@ -41,8 +41,8 @@
<xpath expr="(//div[hasclass('s_card')])[2]//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_2</attribute>
</xpath>
<xpath expr="(//div[hasclass('s_card')])[2]//h5" position="replace">
<h4 class="card-title">Barcelona Night</h4>
<xpath expr="(//div[hasclass('s_card')])[2]//h2" position="replace">
<h2 class="card-title h4-fs">Barcelona Night</h2>
</xpath>
<xpath expr="(//div[hasclass('s_card')])[2]//p" position="replace">
<p class="o_small_fs">27th AUGUST</p>
@@ -58,8 +58,8 @@
<xpath expr="(//div[hasclass('s_card')])[3]" position="attributes">
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('s_card')])[3]//h5" position="replace">
<h4 class="card-title">Amsterdam Tour</h4>
<xpath expr="(//div[hasclass('s_card')])[3]//h2" position="replace">
<h2 class="card-title h4-fs">Amsterdam Tour</h2>
</xpath>
<xpath expr="(//div[hasclass('s_card')])[3]//p" position="replace">
<p class="o_small_fs">9th SEPTEMBER</p>