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
@@ -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">
|
||||
Elevate Your Brand with Digital Marketing
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -3,29 +3,29 @@
|
||||
|
||||
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
|
||||
<!-- Block #01 -->
|
||||
<xpath expr="//h3" position="replace"/>
|
||||
<xpath expr="//h2" position="replace"/>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
<em class="lead">Maintain a position of constant change<br/> and evolution, while always aiming<br/> for your success.</em>
|
||||
</xpath>
|
||||
<!-- Block #02 -->
|
||||
<xpath expr="//h3" position="before">
|
||||
<xpath expr="//h2" position="before">
|
||||
<i class="fa fa-2x fa-star text-o-color-2 rounded-circle shadow mx-auto my-3"/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Super <b>Easy</b>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="attributes">
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="class" add="text-center" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner"/>
|
||||
<!-- Block #03 -->
|
||||
<xpath expr="(//h3)[2]" position="before">
|
||||
<xpath expr="(//h2)[2]" position="before">
|
||||
<i class="fa fa-2x fa-rocket text-o-color-1 rounded-circle shadow mx-auto my-3"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
Super <b>Fast</b>
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="attributes">
|
||||
<xpath expr="(//h2)[2]" position="attributes">
|
||||
<attribute name="class" add="text-center" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner"/>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="pt72 pb72" remove="pt48 pb48" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Meet Our Specialists
|
||||
</xpath>
|
||||
<!-- Lead -->
|
||||
@@ -26,7 +26,7 @@
|
||||
<xpath expr="(//div[hasclass('col-12')])[2]//i" position="attributes">
|
||||
<attribute name="class" remove="bg-o-color-3" add="bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[2]//h5" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('col-12')])[2]//h3" position="replace" mode="inner">
|
||||
Coding Excellence
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[2]//p" position="replace" mode="inner">
|
||||
@@ -36,7 +36,7 @@
|
||||
<xpath expr="(//div[hasclass('col-12')])[3]//i" position="attributes">
|
||||
<attribute name="class" remove="bg-o-color-3" add="bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[3]//h5" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('col-12')])[3]//h3" position="replace" mode="inner">
|
||||
Agile Approach
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[3]//p" position="replace" mode="inner">
|
||||
@@ -46,7 +46,7 @@
|
||||
<xpath expr="(//div[hasclass('col-12')])[4]//i" position="attributes">
|
||||
<attribute name="class" remove="bg-o-color-3" add="bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[4]//h5" position="replace" mode="inner">
|
||||
<xpath expr="(//div[hasclass('col-12')])[4]//h3" position="replace" mode="inner">
|
||||
Security First
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-12')])[4]//p" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user