Files
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

47 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Little block #01 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')]/h2" position="replace" mode="inner">
Brussels
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-4')]/p" position="replace" mode="inner">
21th of August
</xpath>
<!-- Little block #02 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')][2]/h2" position="replace" mode="inner">
Paris
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-4')][2]/p" position="replace" mode="inner">
24th of August
</xpath>
<!-- Little block #03 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')]/h2" position="replace" mode="inner">
Barcelona
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-3')]/p" position="replace" mode="inner">
27th of August
</xpath>
<!-- Little block #04 -->
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')][2]/h2" position="replace" mode="inner">
Amsterdam
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-3')][2]/p" position="replace" mode="inner">
4th of September
</xpath>
</template>
</odoo>