mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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=" "/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user