[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">
Discover a World of Knowledge
</xpath>
<!-- Paragraph 1 -->
@@ -3,7 +3,7 @@
<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">
Discover Your Next Great Read
</xpath>
<!-- Card 1 -->
@@ -13,7 +13,7 @@
<xpath expr="(//div[hasclass('s_card')])[1]//img" position="attributes">
<attribute name="class" add="rounded-end" remove="rounded-start" separator=" "/>
</xpath>
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Boundless
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
@@ -26,7 +26,7 @@
<xpath expr="(//div[hasclass('s_card')])[2]//img" position="attributes">
<attribute name="class" add="rounded-end" remove="rounded-start" separator=" "/>
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Romans
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
@@ -39,7 +39,7 @@
<xpath expr="(//div[hasclass('s_card')])[3]//img" position="attributes">
<attribute name="class" add="rounded-end" remove="rounded-start" separator=" "/>
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Change the Way You Think
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
@@ -52,7 +52,7 @@
<xpath expr="(//div[hasclass('s_card')])[4]//img" position="attributes">
<attribute name="class" add="rounded-end" remove="rounded-start" separator=" "/>
</xpath>
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
What I Didn't Post on Social Media
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
@@ -13,7 +13,7 @@
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" separator=";"/>
</xpath>
<!-- 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">
Science fiction
</xpath>
<!-- Paragraph -->
@@ -28,7 +28,7 @@
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" separator=";"/>
</xpath>
<!-- 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">
Biographies
</xpath>
<!-- Paragraph -->
@@ -42,7 +42,7 @@
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
</xpath>
<!-- 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">
Horror
</xpath>
<!-- Paragraph -->
@@ -56,7 +56,7 @@
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
</xpath>
<!-- 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">
Romance
</xpath>
<!-- Paragraph -->
@@ -7,7 +7,7 @@
<attribute name="class" add="pt128 pb128 o_cc o_cc5" remove="pt48 pb48" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
We also sell prime quality second hand books
</xpath>
<!-- Lead -->
@@ -15,19 +15,19 @@
Prime quality second-hand books, carefully selected for value and charm. Timeless stories at great prices.
</xpath>
<!-- Features -->
<xpath expr="//h5" position="replace" mode="inner">
<xpath expr="//h3" position="replace" mode="inner">
Timeless Reads
</xpath>
<xpath expr="//div[hasclass('col-12')][2]//p" position="replace" mode="inner">
Explore beloved stories from every era. Find cherished classics to enjoy again and again.
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Affordable Classics
</xpath>
<xpath expr="//div[hasclass('col-12')][3]//p" position="replace" mode="inner">
Own literary masterpieces without breaking the bank. Your favorite classic books at budget-friendly prices.
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Hidden Treasures
</xpath>
<xpath expr="//div[hasclass('col-12')][4]//p" position="replace" mode="inner">
@@ -7,21 +7,21 @@
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Column #1 -->
<xpath expr="//h5" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
A Belgian Story
</xpath>
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
Discover the history of Belgium in this well-documented book with many illustrations and testimonials.
</xpath>
<!-- Column #2 -->
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h2)[2]" position="replace" mode="inner">
At the Mars conquest
</xpath>
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
Learn about the difficulties encountered by NASA engineers in sending the first men to Mars.
</xpath>
<!-- Column #3 -->
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h2)[3]" position="replace" mode="inner">
Re-edition
</xpath>
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">