[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
@@ -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">
Your Gateway to Unforgettable Journeys
</xpath>
<!-- Paragraph 1 -->
+5 -5
View File
@@ -3,32 +3,32 @@
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
<!-- Main Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Unravel your next adventure
</xpath>
<!-- Card 1 -->
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Relax in Marbella
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
Marbella is a city on the southern coast of Spain known for its luxurious lifestyle, beautiful beaches, and vibrant nightlife.
</xpath>
<!-- Card 2 -->
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Rest in Finland
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Enjoy the peace and quiet of Finland's forests and lakes. Rest and relax in one of our best partnered resorts.
</xpath>
<!-- Card 3 -->
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Tan in Thailand
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
Known for its stunning beaches Thailand is a Southeast Asian country, enjoy its lush forests and vibrant culture.
</xpath>
<!-- Card 4 -->
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Hike in Switzerland
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
@@ -7,8 +7,8 @@
<attribute name="class" add="pt72 pb0" remove="pt48 pb48" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<h2>Meet our travel agents</h2>
<xpath expr="//h2" position="replace" mode="inner">
Meet our travel agents
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace"/>
@@ -22,7 +22,7 @@
<!-- Add Text -->
<xpath expr="//div[hasclass('o_grid_item')]" position="inside">
<div class="o_we_bg_filter bg-black-50"></div>
<h3 style="text-align: left;">Brazil</h3>
<h2 class="h3-fs" style="text-align: left;">Brazil</h2>
<p style="text-align: left;">From $699</p>
</xpath>
@@ -32,11 +32,11 @@
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc2 rounded-4" separator=" "/>
<attribute name="style" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_carousel_default_image_1');" remove="--grid-item-padding-y: 20px" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h3" position="before">
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h2" position="before">
<div class="o_we_bg_filter bg-black-50"></div>
</xpath>
<!-- Title -->
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h3" position="replace" mode="inner">
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h2" position="replace" mode="inner">
Greece
</xpath>
<!-- Paragraph -->
@@ -50,11 +50,11 @@
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc3 rounded-4" separator=" "/>
<attribute name="style" remove="--grid-item-padding-y: 20px; background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_quotes_carousel_demo_image_2');" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h3" position="before">
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h2" position="before">
<div class="o_we_bg_filter bg-black-50"></div>
</xpath>
<!-- Title -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h3" position="replace" mode="inner">
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h2" position="replace" mode="inner">
Italy
</xpath>
<!-- Paragraph -->
@@ -68,11 +68,11 @@
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc4 rounded-4" separator=" "/>
<attribute name="style" remove="--grid-item-padding-y: 20px; background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_key_images_default_image_4');" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h3" position="before">
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h2" position="before">
<div class="o_we_bg_filter bg-black-50"></div>
</xpath>
<!-- Title -->
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h3" position="replace" mode="inner">
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h2" position="replace" mode="inner">
Romania
</xpath>
<!-- Paragraph -->
@@ -86,11 +86,11 @@
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc2 rounded-4" separator=" "/>
<attribute name="style" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_three_columns_default_image_1');" remove="--grid-item-padding-y: 20px" separator=";"/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h3" position="before">
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h2" position="before">
<div class="o_we_bg_filter bg-black-50"></div>
</xpath>
<!-- Title -->
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h3" position="replace" mode="inner">
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h2" position="replace" mode="inner">
France
</xpath>
<!-- Paragraph -->
+5 -5
View File
@@ -11,23 +11,23 @@
<attribute name="class" add="align-items-center" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<h2>Why Choose Us</h2>
<xpath expr="//h2" position="replace" mode="inner">
Why Choose Us
</xpath>
<!-- Content -->
<xpath expr="//h5" position="replace" mode="inner">
<xpath expr="//h3" position="replace" mode="inner">
Expertly Curated Trips
</xpath>
<xpath expr="//div[hasclass('col-12')][2]//p" position="replace" mode="inner">
We select only the best destinations, ensuring your travel experience is nothing short of extraordinary.
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Personalized Itineraries
</xpath>
<xpath expr="//div[hasclass('col-12')][3]//p" position="replace" mode="inner">
Your journey is tailored to match your preferences, making every trip uniquely yours.
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Seamless Travel Experience
</xpath>
<xpath expr="//div[hasclass('col-12')][4]//p" position="replace" mode="inner">
@@ -13,7 +13,7 @@
<xpath expr="//figure" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
</xpath>
<xpath expr="//h5" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Paris
</xpath>
<xpath expr="//p" position="replace" mode="inner">
@@ -29,7 +29,7 @@
<xpath expr="(//figure)[2]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h2)[2]" position="replace" mode="inner">
Rome
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
@@ -45,7 +45,7 @@
<xpath expr="(//figure)[3]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h2)[3]" position="replace" mode="inner">
Prague
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">