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,8 +15,8 @@
|
||||
<xpath expr="//div[hasclass('row')]/*[1]" position="attributes">
|
||||
<attribute name="class" add="col-lg-12" remove="col-lg-9" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h3 style="text-align: center;">Help us protect and preserve for future generations</h3>
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2 class="h3-fs" style="text-align: center;">Help us protect and preserve for future generations</h2>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace">
|
||||
<p class="lead" style="text-align: center;">Join us and make the planet a better place.</p>
|
||||
|
||||
@@ -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">
|
||||
Sustainability for a Better Tomorrow
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -3,32 +3,32 @@
|
||||
|
||||
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Committed to a Greener Future
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Sustainable Practices
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
We implement sustainable practices across all aspects of our operations, from reducing waste and conserving resources to supporting eco-friendly initiatives.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Eco-Friendly Materials
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Our commitment to the environment includes using eco-friendly materials in our products and services, ensuring minimal impact on the planet while maintaining high quality.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Community Engagement
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
We actively engage with our community to promote environmental awareness and participate in local green initiatives, fostering a collective effort toward a more sustainable future.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Energy Efficiency
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Key milestones in our environmental impact
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
|
||||
Reference in New Issue
Block a user