[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
+9 -9
View File
@@ -175,8 +175,8 @@
<!-- ======== 3 COLUMNS ======== -->
<template id="s_three_columns" inherit_id="website.s_three_columns" name="Graphene s_three_columns">
<xpath expr="//div[hasclass('row')]/div//h5[1]" position="replace">
<h5>Powerful API</h5>
<xpath expr="//div[hasclass('row')]/div//h2[1]" position="replace">
<h2 class="h5-fs">Powerful API</h2>
<div class="s_hr pt8 pb16" data-snippet="s_hr" data-name="Separator">
<hr class="w-100 mx-auto" style="border-top-color: var(--o-color-3) !important;"/>
</div>
@@ -184,8 +184,8 @@
<xpath expr="//div[hasclass('row')]/div//p[1]" position="replace" mode="inner">
Thanks to our API, Developers report building their solutions 4x faster. Discover why and how.
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]//h5[1]" position="replace">
<h5>Mobile Experience</h5>
<xpath expr="//div[hasclass('row')]/div[2]//h2[1]" position="replace">
<h2 class="h5-fs">Mobile Experience</h2>
<div class="s_hr pt8 pb16" data-snippet="s_hr" data-name="Separator">
<hr class="w-100 mx-auto" style="border-top-color: var(--o-color-3) !important;"/>
</div>
@@ -193,8 +193,8 @@
<xpath expr="//div[hasclass('row')]/div[2]//p[1]" position="replace" mode="inner">
Probably the only CRM with a full mobile experience. Never wondered how it works? That's because it just works
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]//h5[1]" position="replace">
<h5>Support Team</h5>
<xpath expr="//div[hasclass('row')]/div[3]//h2[1]" position="replace">
<h2 class="h5-fs">Support Team</h2>
<div class="s_hr pt8 pb16" data-snippet="s_hr" data-name="Separator">
<hr class="w-100 mx-auto" style="border-top-color: var(--o-color-3) !important;"/>
</div>
@@ -206,8 +206,8 @@
<!-- ======== CALL TO ACTION ======== -->
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Graphene s_call_to_action">
<xpath expr="//h3" position="replace">
<h3 style="text-align: right;">50,000+ companies run our software.</h3>
<xpath expr="//h2" position="replace">
<h2 class="h3-fs" style="text-align: right;">50,000+ companies run our software.</h2>
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
<attribute name="class" add="col-lg-8" remove="col-lg-9" separator=" "/>
@@ -609,7 +609,7 @@
<attribute name="src">/web/image/website.s_numbers_default_image</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Robotics &amp; Technology for Tomorrow
</xpath>
<!-- Paragraph 1 -->