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
@@ -179,10 +179,10 @@
|
||||
<div class="o_we_shape o_web_editor_Floats_09"/>
|
||||
</xpath>
|
||||
<!-- Content -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
<b>50,000 pre-orders</b> already registered.
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="attributes">
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="style" add="text-align: left;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
@@ -272,21 +272,21 @@
|
||||
<!-- ======== THREE COLUMNS ======== -->
|
||||
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||||
<!-- Column 1 -->
|
||||
<xpath expr="//h5" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Koran Mini
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
|
||||
Unleashing power with elegance, the Koran Mini blends advanced engineering with classic design, delivering a thrilling ride that’s both swift and smooth.
|
||||
</xpath>
|
||||
<!-- Column 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
Koran X
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
|
||||
A bold statement in every detail, the Koran X captures the spirit of modern adventure. Built for those who refuse to compromise on performance and style.
|
||||
</xpath>
|
||||
<!-- Column 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h2)[3]" position="replace" mode="inner">
|
||||
Koran GT
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
|
||||
@@ -746,7 +746,7 @@
|
||||
<attribute name="src">/web/image/website.library_image_05</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Reliable Vehicle Services & Repairs
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
@@ -800,32 +800,32 @@
|
||||
<!-- ======== CARDS GRID ======== -->
|
||||
<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">
|
||||
Unleash the Power of Our Sports Cars
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
High-Performance Engine
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
Experience thrilling acceleration and top speeds with our sports car’s high-performance engine, designed for an exhilarating driving experience on both the track and the road.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Sporty Interior
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Immerse yourself in a driver-focused cockpit with sport seats, intuitive controls, and premium materials, all crafted to enhance your driving pleasure and comfort.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Precision Handling
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
Enjoy exceptional control and responsiveness with advanced suspension systems and precise steering, offering unmatched agility and cornering capabilities.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Aerodynamic Design
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
@@ -893,8 +893,8 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt88 pb88" remove="pt48 pb48" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_grid_item')]//h3" position="replace">
|
||||
<h2>Key Metrics of our Achievements</h2>
|
||||
<xpath expr="//div[hasclass('o_grid_item')]//h2" position="replace" mode="inner">
|
||||
Key Metrics of our Achievements
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_grid_item')]//p" position="replace" mode="inner">
|
||||
Our commitment to innovation, performance, and sustainability drives us forward, enabling us to deliver excellence across all categories of the automotive industry.
|
||||
|
||||
Reference in New Issue
Block a user