Skip to content

Commit 160c21c

Browse files
committed
[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 #1105 Related: odoo/odoo#205011 Related: odoo/enterprise#88051 Related: odoo/upgrade#7927 Signed-off-by: Benjamin Vray (bvr) <[email protected]>
1 parent d7eb6bb commit 160c21c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

theme_buzzy/views/new_page_template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
</xpath>
300300
</template>
301301

302-
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
302+
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
303303
<!-- Shape option -->
304304
<xpath expr="//section" position="attributes">
305305
<attribute name="class" add="o_cc4 pt80 pb80" remove="o_cc2 pt40 pb0" separator=" "/>

theme_nano/views/new_page_template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
</xpath>
301301
</template>
302302

303-
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
303+
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
304304
<xpath expr="//section" position="attributes">
305305
<attribute name="class" add="pb0" remove="pb96" separator=" "/>
306306
</xpath>

theme_real_estate/views/new_page_template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
</xpath>
143143
</template>
144144

145-
<template id="new_page_template_gallery_s_text_block_h2" inherit_id="website.new_page_template_gallery_s_text_block_h2">
145+
<template id="new_page_template_gallery_s_text_block_h1" inherit_id="website.new_page_template_gallery_s_text_block_h1">
146146
<xpath expr="//section" position="attributes">
147147
<attribute name="class" remove="o_cc4" separator=" "/>
148148
</xpath>

0 commit comments

Comments
 (0)