Files
design-themes/theme_clean/views/snippets/s_carousel.xml
T
Chrysanthe (chgo) 376ab972ea [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>
2025-09-08 18:27:03 +00:00

43 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<!-- Titles -->
<xpath expr="//h2" position="replace" mode="inner">
Personal adviser
</xpath>
<xpath expr="(//h2)[2]" position="replace" mode="inner">
Simplify things
</xpath>
<xpath expr="(//h2)[3]" position="replace" mode="inner">
Efficient team processes
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]//p" position="replace"/>
<!-- Paragraphs -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
At any moment, you may contact our advisor through the in-app video meeting system.
</xpath>
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
We invest in strategic advice tailored to your business problems and needs.
</xpath>
<xpath expr="(//p[hasclass('lead')])[3]" position="replace" mode="inner">
We integrate digital tools and solutions for better insights, enabling data-driven planning.
</xpath>
<!-- Filter -->
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<!-- Background -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style" add="background-position: 50% 10%;" separator=";"/>
</xpath>
</template>
</odoo>