mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
committed by
qsm-odoo
parent
fee5fc75fe
commit
376ab972ea
@@ -15,10 +15,10 @@
|
||||
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-12" remove="col-lg-9" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Be yourself, create your own style
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="attributes">
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="style">text-align: center;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
|
||||
@@ -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">
|
||||
Redefining Style with Every Step
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Main Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Redefining Fashion
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//div[hasclass('card')])[1]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Timeless Elegance
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
@@ -24,7 +24,7 @@
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Sustainable Craftsmanship
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
@@ -34,7 +34,7 @@
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Versatile Style
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
@@ -44,7 +44,7 @@
|
||||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Innovative Design
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team #01 - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//h3" position="replace" mode="inner">
|
||||
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-5) 100%);" class="text-gradient">Tony Fred</font>
|
||||
</xpath>
|
||||
<!-- Team #01 - Work Description -->
|
||||
@@ -37,7 +37,7 @@
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team #02 - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//h3" position="replace" mode="inner">
|
||||
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-5) 100%);" class="text-gradient">Mich Stark</font>
|
||||
<br/>
|
||||
</xpath>
|
||||
@@ -63,7 +63,7 @@
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team #03 - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][3]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-6')][3]//h3" position="replace" mode="inner">
|
||||
<font style="background-image: linear-gradient(135deg, var(--o-color-2) 0%, var(--o-color-5) 100%);" class="text-gradient">Aline Turner</font>
|
||||
</xpath>
|
||||
<!-- Team #03 - Work Description -->
|
||||
@@ -88,7 +88,7 @@
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team #04 - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][4]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-6')][4]//h3" position="replace" mode="inner">
|
||||
<font style="background-image: linear-gradient(135deg, var(--o-color-2) 0%, var(--o-color-5) 100%);" class="text-gradient">Iris Joe</font>
|
||||
</xpath>
|
||||
<!-- Team #04 - Work Description -->
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- Team #01 - Title -->
|
||||
<xpath expr="//h4" position="replace" mode="inner">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Tony Fred
|
||||
</xpath>
|
||||
<!-- Team #01 - Work Description -->
|
||||
@@ -21,7 +21,7 @@
|
||||
</xpath>
|
||||
|
||||
<!-- Team #02 - Title -->
|
||||
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Mich Stark
|
||||
</xpath>
|
||||
<!-- Team #02 - Work Description -->
|
||||
@@ -39,7 +39,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 -->
|
||||
@@ -57,7 +57,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 -->
|
||||
|
||||
Reference in New Issue
Block a user