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
@@ -15,7 +15,7 @@
|
||||
<attribute name="src">/web/image/website.library_image_03</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Creativity Meets Cutting-Edge Technology
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h2 style="text-align: center;">Our talented crew</h2>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Our talented crew
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="after">
|
||||
<p class="lead" style="text-align: center;">Meet the masterminds behind our agency. With them, your project is in good hands for sure.</p>
|
||||
@@ -20,7 +20,7 @@
|
||||
<xpath expr="(//img)[1]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h4)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Evan Ray
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[1]" position="replace" mode="inner">
|
||||
@@ -33,7 +33,7 @@
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Ben Cole
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
|
||||
@@ -46,7 +46,7 @@
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h4)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Jane Ford
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
|
||||
@@ -59,7 +59,7 @@
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h4)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Mia Lee
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user