Files
design-themes/theme_bookstore/views/snippets/s_showcase.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

47 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_showcase" inherit_id="website.s_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt128 pb128 o_cc o_cc5" remove="pt48 pb48" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
We also sell prime quality second hand books
</xpath>
<!-- Lead -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
Prime quality second-hand books, carefully selected for value and charm. Timeless stories at great prices.
</xpath>
<!-- Features -->
<xpath expr="//h3" position="replace" mode="inner">
Timeless Reads
</xpath>
<xpath expr="//div[hasclass('col-12')][2]//p" position="replace" mode="inner">
Explore beloved stories from every era. Find cherished classics to enjoy again and again.
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Affordable Classics
</xpath>
<xpath expr="//div[hasclass('col-12')][3]//p" position="replace" mode="inner">
Own literary masterpieces without breaking the bank. Your favorite classic books at budget-friendly prices.
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Hidden Treasures
</xpath>
<xpath expr="//div[hasclass('col-12')][4]//p" position="replace" mode="inner">
Discover rare and unique books waiting to be found. Unearth hidden gems in our collection.
</xpath>
<!-- Link -->
<xpath expr="//a" position="replace" mode="inner">
Discover the books
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_1</attribute>
</xpath>
</template>
</odoo>