[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
@@ -16,7 +16,7 @@
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-9')]" position="replace">
|
||||
<div class="col-lg-10 offset-lg-1 pt48 pb24">
|
||||
<h3 style="text-align: center;">2,000 parents<br/> brought their kid to our nursery.</h3>
|
||||
<h2 class="h3-fs" style="text-align: center;">2,000 parents<br/> brought their kid to our nursery.</h2>
|
||||
<p style="text-align: center;">Entrust us with your children and go to work with peace of mind</p>
|
||||
<p><br/></p>
|
||||
<p style="text-align: center;"><a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_translate_inline"><t t-out="cta_btn_text">Contact us</t></a></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">
|
||||
Toys That Spark Imagination
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
@@ -10,32 +10,32 @@
|
||||
<div class="o_we_shape o_web_editor_Floats_05 o_we_animated"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Caring for Your Child's Growth and Happiness
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Nurturing Early Learning
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
We provide a safe and engaging environment where children can explore, learn, and grow. Our programs are designed to foster creativity, curiosity, and a love for learning from an early age.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Professional and Caring Staff
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Our team of trained caregivers and educators is dedicated to providing personalized attention and care. We focus on creating a warm and supportive atmosphere where every child feels valued and understood.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Fun and Educational Activities
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
We offer a range of activities that combine fun with learning, from creative arts and crafts to outdoor play and interactive storytelling, ensuring every child enjoys a balanced and enriching day.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Safe and Secure Environment
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -19,15 +19,15 @@
|
||||
<attribute name="data-shape-colors">;o-color-1;;;</attribute>
|
||||
</xpath>
|
||||
<!-- Column n°1 - Title -->
|
||||
<xpath expr="//h5" position="attributes">
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="style">text-align: center;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h5" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
<br/>
|
||||
Our mission
|
||||
</xpath>
|
||||
<!-- Column n°1 - Add separator -->
|
||||
<xpath expr="//h5" position="after">
|
||||
<xpath expr="//h2" position="after">
|
||||
<div class="s_hr pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-2) !important;"/>
|
||||
</div>
|
||||
@@ -56,15 +56,15 @@
|
||||
<attribute name="data-shape-colors">;o-color-3;;;</attribute>
|
||||
</xpath>
|
||||
<!-- Column n°2 - Title -->
|
||||
<xpath expr="(//h5)[2]" position="attributes">
|
||||
<xpath expr="(//h2)[2]" position="attributes">
|
||||
<attribute name="style">text-align: center;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
<br/>
|
||||
For every kid
|
||||
</xpath>
|
||||
<!-- Column n°2 - Add separator -->
|
||||
<xpath expr="(//h5)[2]" position="after">
|
||||
<xpath expr="(//h2)[2]" position="after">
|
||||
<div class="s_hr pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-1) !important;"/>
|
||||
</div>
|
||||
@@ -93,15 +93,15 @@
|
||||
<attribute name="data-shape-colors">;;;;o-color-2</attribute>
|
||||
</xpath>
|
||||
<!-- Column n°3 - Title -->
|
||||
<xpath expr="(//h5)[3]" position="attributes">
|
||||
<xpath expr="(//h2)[3]" position="attributes">
|
||||
<attribute name="style">text-align: center;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[3]" position="replace" mode="inner">
|
||||
<br/>
|
||||
Open-door policy
|
||||
</xpath>
|
||||
<!-- Column n°3 - Add separator -->
|
||||
<xpath expr="(//h5)[3]" position="after">
|
||||
<xpath expr="(//h2)[3]" position="after">
|
||||
<div class="s_hr pb32 pt8" data-snippet="s_hr" data-name="Separator">
|
||||
<hr class="w-25 mx-auto" style="border-top: 5px dotted var(--o-color-2) !important;"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user