[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
@@ -5,7 +5,7 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="o_cc5" add="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Want To Become A Real Estate Agent?
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<attribute name="src">/web/image/website.library_image_16</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Real Estate Solutions for You
|
||||
</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">
|
||||
Explore Our Featured Properties
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Spacious Urban Loft
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
Experience city living at its finest in this expansive urban loft, featuring high ceilings, open-plan living spaces, and modern finishes, all in a prime location.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Charming Suburban Home
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Enjoy the comfort of this delightful suburban home with a spacious yard, cozy interior, and family-friendly neighborhood, perfect for making lasting memories.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Luxurious Waterfront Villa
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
Indulge in opulence with this stunning waterfront villa, boasting panoramic views, a private pool, and exquisite design elements that offer a serene and exclusive living experience.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Contemporary Penthouse
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="style">border-radius: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h5" position="before">
|
||||
<xpath expr="//h2" position="before">
|
||||
<p class="h4-fs">$295,000</p>
|
||||
</xpath>
|
||||
<xpath expr="//h5" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
House On The Hill
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
|
||||
@@ -34,10 +34,10 @@
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="style">border-radius: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="before">
|
||||
<xpath expr="(//h2)[2]" position="before">
|
||||
<p class="h4-fs">$1,295,000,000</p>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
Moutain View
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
|
||||
@@ -51,10 +51,10 @@
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="style">border-radius: 0px !important;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="before">
|
||||
<xpath expr="(//h2)[3]" position="before">
|
||||
<p class="h4-fs">$455,000</p>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[3]" position="replace" mode="inner">
|
||||
Paradise Residence
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user