[IMP] theme_buzzy, *: fix header hierarchy for better SEO

*: theme_nano, theme_real_estate

Refactored design-themes modules templates to use a consistent and
semantically correct heading structure (h1, h2 etc.). This improves SEO.

task-4680875

closes odoo/design-themes#1105

Related: odoo/odoo#205011
Related: odoo/enterprise#88051
Related: odoo/upgrade#7927
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
Serge Bayet (seba)
2025-06-25 09:24:07 +02:00
parent d7eb6bb7d9
commit 160c21c088
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -299,7 +299,7 @@
</xpath>
</template>
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4 pt80 pb80" remove="o_cc2 pt40 pb0" separator=" "/>
+1 -1
View File
@@ -300,7 +300,7 @@
</xpath>
</template>
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb0" remove="pb96" separator=" "/>
</xpath>
@@ -142,7 +142,7 @@
</xpath>
</template>
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc4" separator=" "/>
</xpath>