[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
@@ -22,7 +22,7 @@
|
||||
<!-- Add Text -->
|
||||
<xpath expr="//div[hasclass('o_grid_item')]" position="inside">
|
||||
<div class="o_we_bg_filter bg-black-50"></div>
|
||||
<h3 style="text-align: left;">Brazil</h3>
|
||||
<h2 class="h3-fs" style="text-align: left;">Brazil</h2>
|
||||
<p style="text-align: left;">From $699</p>
|
||||
</xpath>
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc2 rounded-4" separator=" "/>
|
||||
<attribute name="style" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_carousel_default_image_1');" remove="--grid-item-padding-y: 20px" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h3" position="before">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"></div>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h3" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[2]/h2" position="replace" mode="inner">
|
||||
Greece
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
@@ -50,11 +50,11 @@
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc3 rounded-4" separator=" "/>
|
||||
<attribute name="style" remove="--grid-item-padding-y: 20px; background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_quotes_carousel_demo_image_2');" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h3" position="before">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"></div>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h3" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[3]/h2" position="replace" mode="inner">
|
||||
Italy
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
@@ -68,11 +68,11 @@
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc4 rounded-4" separator=" "/>
|
||||
<attribute name="style" remove="--grid-item-padding-y: 20px; background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_key_images_default_image_4');" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h3" position="before">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"></div>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h3" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[4]/h2" position="replace" mode="inner">
|
||||
Romania
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
@@ -86,11 +86,11 @@
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc o_cc5 overflow-hidden rounded" remove="o_cc o_cc2 rounded-4" separator=" "/>
|
||||
<attribute name="style" add="--grid-item-padding-y: 0px; background-image: url('/web/image/website.s_three_columns_default_image_1');" remove="--grid-item-padding-y: 20px" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h3" position="before">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"></div>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h3" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[5]/h2" position="replace" mode="inner">
|
||||
France
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
|
||||
Reference in New Issue
Block a user