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
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="pb88 pt88" remove="pb64 pt64" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title & paragraph -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
There are always flowers <br/>for those who want to see them.
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
|
||||
@@ -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">
|
||||
Bringing Nature to Your Doorstep
|
||||
</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">
|
||||
Blooming with Quality and Care
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Freshness Like a Rose
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
Just like a rose stands out for its timeless beauty, our commitment to freshness ensures that every arrangement leaves a lasting impression.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Creativity Like a Wildflower
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Our designs are as unique and diverse as a field of wildflowers, bringing creativity and flair to every bouquet we create.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Reliability Like a Sunflower
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
Just as sunflowers always turn towards the sun, we are dedicated to providing reliable service that meets your floral needs, every time.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Elegance Like an Orchid
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -5,33 +5,33 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h2 style="text-align: center">Meet the Team</h2>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Meet the Team
|
||||
</xpath>
|
||||
|
||||
<!-- Person 1 -->
|
||||
<xpath expr="//h4" position="replace" mode="inner">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Tony Fred, Floral Director
|
||||
</xpath>
|
||||
<xpath expr="//p[2]" position="replace" mode="inner">
|
||||
Tony leads the creative vision for the shop.
|
||||
</xpath>
|
||||
<!-- Person 2 -->
|
||||
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Mich Stark, Operations Manager
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
|
||||
Mich makes sure everything runs smoothly.
|
||||
</xpath>
|
||||
<!-- Person 3 -->
|
||||
<xpath expr="(//h4)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Aline Turner, Bouquet Designer
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
|
||||
Aline is the mastermind behind our bespoke floral arrangements.
|
||||
</xpath>
|
||||
<!-- Person 4 -->
|
||||
<xpath expr="(//h4)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Iris Joe, Customer Relations
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<attribute name="style" add="--card-img-ratio-align: 20%;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column 1 - Title -->
|
||||
<xpath expr="//h5" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Local Producers
|
||||
</xpath>
|
||||
<!-- Column 1 - Paragraph -->
|
||||
@@ -29,7 +29,7 @@
|
||||
<attribute name="style" add="--card-img-ratio-align: 20%;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column 2 - Title -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
Bio Flowers
|
||||
</xpath>
|
||||
<!-- Column 2 - Paragraph -->
|
||||
@@ -46,7 +46,7 @@
|
||||
<attribute name="style" add="--card-img-ratio-align: 20%;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Column 3 - Title -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[3]" position="replace" mode="inner">
|
||||
Eco-Friendly Packaging
|
||||
</xpath>
|
||||
<!-- Column 3 - Paragraph -->
|
||||
|
||||
Reference in New Issue
Block a user