Files
design-themes/theme_nano/views/snippets/s_card_offset.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

32 lines
1.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_card_offset" inherit_id="website.s_card_offset">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5 o_colored_level" remove="o_cc1" separator=" "/>
</xpath>
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
<attribute name="style" add="--grid-item-padding-y: 32px;" remove="--grid-item-padding-y: 40px;" separator=";"/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_03</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Creativity Meets Cutting-Edge Technology
</xpath>
<!-- Paragraph 1 -->
<xpath expr="(//p[hasclass('lead')])[1]" position="replace" mode="inner">
Unlock your creative potential with our innovative design and IT services. We offer a blend of creativity and technology that brings your vision to life in new and exciting ways.
</xpath>
<!-- Paragraph 2 -->
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
Lets innovate together.
</xpath>
</template>
</odoo>