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
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user