[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
@@ -10,7 +10,7 @@
<div class="o_we_bg_filter bg-black-25"/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<xpath expr="//h2" position="replace">
<h2>Discover how we can help you<br/>making this day unforgettable.</h2>
</xpath>
<!-- Paragraph -->
+1 -1
View File
@@ -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">
Capturing Your Love Story
</xpath>
<!-- Paragraph 1 -->
+4 -4
View File
@@ -2,28 +2,28 @@
<odoo>
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Dream Wedding Venues
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
Discover breathtaking venues that capture the essence of romance, from grand castles to scenic beach resorts, perfect for your unforgettable day.
</xpath>
<!-- Card 2 -->
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Bespoke Wedding Planning
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Our expert team crafts personalized wedding experiences, managing every detail so you can enjoy a stress-free celebration with your loved ones.
</xpath>
<!-- Card 3 -->
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Dance and Music Entertainment
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
From romantic first dances to lively late-night parties, we'll create the perfect mood on a stunning dancefloor for your special day.
</xpath>
<!-- Card 4 -->
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Luxury Honeymoon Packages
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
+2 -2
View File
@@ -8,7 +8,7 @@
</xpath>
<xpath expr="//p" position="replace"/>
<!-- Row #1 - Col #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">
Livia Sailor
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace" mode="inner">
@@ -18,7 +18,7 @@
Livia is our head wedding coordinator and stylist, she'll turn any of your ideas into reality, making sure your wedding day is smooth and looks better than anything you have ever seen on Pinterest.
</xpath>
<!-- Row #1 - Col #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">
Clair Stark
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p" position="replace" mode="inner">
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
Meet our team
</xpath>
<!-- Team #01 - Title -->
<xpath expr="//h4" position="replace" mode="inner">
<xpath expr="//h3" position="replace" mode="inner">
Tony Fred
</xpath>
<!-- Team #01 - Work Description -->
@@ -14,7 +14,7 @@
</xpath>
<!-- Team #02 - Title -->
<xpath expr="(//h4)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Clair Stark
</xpath>
<!-- Team #02 - Work Description -->
@@ -23,7 +23,7 @@
</xpath>
<!-- Team #03 - Title -->
<xpath expr="(//h4)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Aline Turner
</xpath>
<!-- Team #03 - Work Description -->
@@ -32,7 +32,7 @@
</xpath>
<!-- Team #04 - Title -->
<xpath expr="(//h4)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Iris Joe
</xpath>
<!-- Team #04 - Work Description -->
+1 -1
View File
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc o_cc2 pb88" remove="pb64" separator=" "/>
</xpath>
<!-- Remove title and subtitle -->
<xpath expr="//div[hasclass('container')]/h3" position="replace"/>
<xpath expr="//div[hasclass('container')]/h2" position="replace"/>
<xpath expr="//div[hasclass('container')]/p" position="replace"/>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]/div[hasclass('s_hr')]" position="replace"/>
+4 -4
View File
@@ -4,7 +4,7 @@
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Little Blocks -->
<!-- Little block #01 - Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Caterers
</xpath>
<!-- Little block #01 - Text -->
@@ -14,7 +14,7 @@
</xpath>
<!-- Bigger block #02 - Title -->
<xpath expr="(//h3)[2]" position="replace" mode="inner">
<xpath expr="(//h2)[2]" position="replace" mode="inner">
Venues
</xpath>
<!-- Bigger block #02 - Text -->
@@ -24,7 +24,7 @@
</xpath>
<!-- Bigger block #03 - Title -->
<xpath expr="(//h3)[3]" position="replace" mode="inner">
<xpath expr="(//h2)[3]" position="replace" mode="inner">
Attire
</xpath>
<!-- Bigger block #03 - Text -->
@@ -34,7 +34,7 @@
</xpath>
<!-- Little block #04 - Title -->
<xpath expr="(//h3)[4]" position="replace" mode="inner">
<xpath expr="(//h2)[4]" position="replace" mode="inner">
FAQ
</xpath>
<!-- Little block #04 - Text -->