mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
committed by
qsm-odoo
parent
fee5fc75fe
commit
376ab972ea
@@ -250,8 +250,8 @@
|
||||
<div class="o_we_shape o_web_editor_Blobs_05_001" style="background-image: url('/web_editor/shape/web_editor/Blobs/05_001.svg?c1=rgba(0,0,0,0.25)&flip=xy'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h4>3,000 students graduate each year and find a job within 2 months</h4>
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2 class="h4-fs">3,000 students graduate each year and find a job within 2 months</h2>
|
||||
</xpath>
|
||||
<!-- Subtitle -->
|
||||
<xpath expr="//div[hasclass('col-lg-9')]/p" position="replace" mode="inner">
|
||||
@@ -282,7 +282,7 @@
|
||||
<!-- ======== TEAM ======== -->
|
||||
<template id="s_company_team" inherit_id="website.s_company_team" name="Be Wise s_company_team">
|
||||
<!-- Profile #1 -->
|
||||
<xpath expr="//div[hasclass('row')]/div//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div//h3" position="replace" mode="inner">
|
||||
<b>Tony Fred</b>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div//p" position="replace" mode="inner">
|
||||
@@ -292,7 +292,7 @@
|
||||
Tony received a degree in Electrical and Mechanical Engineering and a Ph D. degree in 1998 and 2004. After a post-doctoral experience he joined the school as professor of mechatronics in 2006. In 2010, he became Head of IT.
|
||||
</xpath>
|
||||
<!-- Profile #2 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[2]//h3" position="replace" mode="inner">
|
||||
<b>Mich Stark</b>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]//p" position="replace" mode="inner">
|
||||
@@ -302,7 +302,7 @@
|
||||
He is professor in the Institute of Mechanics, Materials and Civil Engineering since 2000. He lectures in mechanical drawing and mechanical design for undergraduate and graduate students. He is active in Problem and Project based learning. He is the promoter of 8 doctoral theses.
|
||||
</xpath>
|
||||
<!-- Profile #3 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[3]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[3]//h3" position="replace" mode="inner">
|
||||
<b>Aline Turner</b>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]//p" position="replace" mode="inner">
|
||||
@@ -312,7 +312,7 @@
|
||||
She has been practicing law at the French-speaking Brussels Bar since 2006. She has worked in various major law firms based in Brussels, as member and then head of their litigation/arbitration practice groups.
|
||||
</xpath>
|
||||
<!-- Profile #4 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[4]//h4" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[4]//h3" position="replace" mode="inner">
|
||||
<b>Iris Joe</b>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[4]//p" position="replace" mode="inner">
|
||||
@@ -322,18 +322,18 @@
|
||||
|
||||
<!-- ======== TEAM BASIC ======== -->
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Discover our dedicated staff
|
||||
</xpath>
|
||||
<!-- Profile #1 -->
|
||||
<xpath expr="(//h4)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Tony Fred
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[1]" position="replace" mode="inner">
|
||||
Faculty Head of IT
|
||||
</xpath>
|
||||
<!-- Profile #2 -->
|
||||
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Mich Stark
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
|
||||
@@ -806,32 +806,32 @@
|
||||
|
||||
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Elevate Your Academic Journey
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[1]" position="replace" mode="inner">
|
||||
Cutting-Edge Research Facilities
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
Explore our state-of-the-art research facilities, equipped with the latest technology to support groundbreaking research and innovative projects.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Personalized Academic Support
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Benefit from tailored academic advising and support services, designed to guide you through your educational journey.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Advanced Learning Programs
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
Engage in our cutting-edge learning programs that offer specialized courses, hands-on experiences for in-depth exploration in your field of interest.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Expert Faculty and Mentorship
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
@@ -961,7 +961,7 @@
|
||||
<attribute name="src">/web/image/website.s_carousel_default_image_2</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Shaping Tomorrow's Leaders
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
|
||||
Reference in New Issue
Block a user