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
@@ -10,7 +10,7 @@
|
||||
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
|
||||
<attribute name="class" add="pt16" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
<b>50,000 people</b>, run Clean to grow their financial wealth.
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<attribute name="src">/web/image/website.s_quotes_carousel_demo_image_1</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Expert Legal Solutions for Business
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
Simplify things
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[3]" position="replace" mode="inner">
|
||||
Efficient team processes
|
||||
</xpath>
|
||||
<xpath expr="//h6" position="replace"/>
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]//p" position="replace"/>
|
||||
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h5[hasclass('card-title')]" position="replace" mode="inner">
|
||||
<xpath expr="//h2[hasclass('card-title')]" position="replace" mode="inner">
|
||||
Our mission
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
|
||||
@@ -20,7 +20,7 @@
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5[hasclass('card-title')])[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2[hasclass('card-title')])[2]" position="replace" mode="inner">
|
||||
Our values
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
|
||||
@@ -30,7 +30,7 @@
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="style">border-width: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5[hasclass('card-title')])[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2[hasclass('card-title')])[3]" position="replace" mode="inner">
|
||||
Our team
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user