[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
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="pb208 o_cc4" remove="pb64 o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title & Paragraph -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Want to discover more?
|
||||
</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">
|
||||
Discover Art that Inspires Your Soul
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</xpath>
|
||||
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Distinctive Creations: Art That Speaks
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
@@ -16,7 +16,7 @@
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Unique Creative Vision
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
@@ -27,7 +27,7 @@
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Original and Handcrafted Works
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
@@ -38,7 +38,7 @@
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Bold Use of Color and Texture
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
@@ -49,7 +49,7 @@
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Personalized Art Commissions
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #1 - Title -->
|
||||
<xpath expr="//div[hasclass('card-body')]//h5" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('card-body')]//h2" position="replace" mode="inner">
|
||||
My artistic process
|
||||
</xpath>
|
||||
<!-- Column #1 - Paragraph -->
|
||||
@@ -35,7 +35,7 @@
|
||||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #2 - Title -->
|
||||
<xpath expr="(//div[hasclass('card-body')])[2]//h5" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('card-body')])[2]//h2" position="replace" mode="inner">
|
||||
My work
|
||||
</xpath>
|
||||
<!-- Column #2 - Paragraph -->
|
||||
@@ -55,7 +55,7 @@
|
||||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #3 - Title -->
|
||||
<xpath expr="(//div[hasclass('card-body')])[3]//h5" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('card-body')])[3]//h2" position="replace" mode="inner">
|
||||
About me
|
||||
</xpath>
|
||||
<!-- Column #3 - Paragraph -->
|
||||
|
||||
Reference in New Issue
Block a user