Skip to content

Commit 1e15873

Browse files
committed
[IMP] theme_*: fine-tune some snippets headings
*: anelusia, aviato, beauty, bewise, notes, yes This commit reviews the heading tags in-use within themes, ensuring a better SEO. See the community PR for the list of snippets. task-4349019
1 parent 0b82649 commit 1e15873

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

theme_anelusia/views/snippets/s_company_team.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<attribute name="class" remove="rounded-circle" separator=" "/>
1313
</xpath>
1414
<!-- Team #01 - Title -->
15-
<xpath expr="//div[hasclass('col-lg-6')]//h4" position="replace" mode="inner">
15+
<xpath expr="//div[hasclass('col-lg-6')]//h3" position="replace" mode="inner">
1616
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-5) 100%);" class="text-gradient">Tony Fred</font>
1717
</xpath>
1818
<!-- Team #01 - Work Description -->
@@ -37,7 +37,7 @@
3737
<attribute name="class" remove="rounded-circle" separator=" "/>
3838
</xpath>
3939
<!-- Team #02 - Title -->
40-
<xpath expr="//div[hasclass('col-lg-6')][2]//h4" position="replace" mode="inner">
40+
<xpath expr="//div[hasclass('col-lg-6')][2]//h3" position="replace" mode="inner">
4141
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-5) 100%);" class="text-gradient">Mich Stark</font>
4242
<br/>
4343
</xpath>
@@ -63,7 +63,7 @@
6363
<attribute name="class" remove="rounded-circle" separator=" "/>
6464
</xpath>
6565
<!-- Team #03 - Title -->
66-
<xpath expr="//div[hasclass('col-lg-6')][3]//h4" position="replace" mode="inner">
66+
<xpath expr="//div[hasclass('col-lg-6')][3]//h3" position="replace" mode="inner">
6767
<font style="background-image: linear-gradient(135deg, var(--o-color-2) 0%, var(--o-color-5) 100%);" class="text-gradient">Aline Turner</font>
6868
</xpath>
6969
<!-- Team #03 - Work Description -->
@@ -88,7 +88,7 @@
8888
<attribute name="class" remove="rounded-circle" separator=" "/>
8989
</xpath>
9090
<!-- Team #04 - Title -->
91-
<xpath expr="//div[hasclass('col-lg-6')][4]//h4" position="replace" mode="inner">
91+
<xpath expr="//div[hasclass('col-lg-6')][4]//h3" position="replace" mode="inner">
9292
<font style="background-image: linear-gradient(135deg, var(--o-color-2) 0%, var(--o-color-5) 100%);" class="text-gradient">Iris Joe</font>
9393
</xpath>
9494
<!-- Team #04 - Work Description -->

theme_aviato/views/snippets/s_company_team.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<attribute name="class" add="pt72 pb0" remove="pt48 pb48" separator=" "/>
88
</xpath>
99
<!-- Title -->
10-
<xpath expr="//h3" position="replace">
10+
<xpath expr="//h2" position="replace">
1111
<h2>Meet our travel agents</h2>
1212
</xpath>
1313

theme_aviato/views/snippets/s_popup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<odoo>
33

44
<template id="s_popup" inherit_id="website.s_popup">
5-
<xpath expr="//h2" position="replace" mode="inner">
5+
<xpath expr="//h3" position="replace" mode="inner">
66
Win 200$
77
</xpath>
88
<xpath expr="//p" position="replace" mode="inner">

theme_beauty/views/snippets/s_company_team.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
<attribute name="class" add="o_cc o_cc4 pt80 pb80" remove="pb48 pt48" separator=" "/>
88
</xpath>
99
<!-- Titles -->
10-
<xpath expr="(//div[hasclass('col-lg-9')])[1]/h4" position="replace" mode="inner">
10+
<xpath expr="(//div[hasclass('col-lg-9')])[1]/h3" position="replace" mode="inner">
1111
Tony
1212
</xpath>
13-
<xpath expr="(//div[hasclass('col-lg-9')])[2]/h4" position="replace" mode="inner">
13+
<xpath expr="(//div[hasclass('col-lg-9')])[2]/h3" position="replace" mode="inner">
1414
Mich
1515
</xpath>
16-
<xpath expr="(//div[hasclass('col-lg-9')])[3]/h4" position="replace" mode="inner">
16+
<xpath expr="(//div[hasclass('col-lg-9')])[3]/h3" position="replace" mode="inner">
1717
Aline
1818
</xpath>
19-
<xpath expr="(//div[hasclass('col-lg-9')])[4]/h4" position="replace" mode="inner">
19+
<xpath expr="(//div[hasclass('col-lg-9')])[4]/h3" position="replace" mode="inner">
2020
Iris
2121
</xpath>
2222
<!-- Images -->

theme_bewise/views/customizations.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
<!-- ======== TEAM ======== -->
283283
<template id="s_company_team" inherit_id="website.s_company_team" name="Be Wise s_company_team">
284284
<!-- Profile #1 -->
285-
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div//h4" position="replace" mode="inner">
285+
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div//h3" position="replace" mode="inner">
286286
<b>Tony Fred</b>
287287
</xpath>
288288
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div//p" position="replace" mode="inner">
@@ -292,7 +292,7 @@
292292
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.
293293
</xpath>
294294
<!-- Profile #2 -->
295-
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//h4" position="replace" mode="inner">
295+
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//h3" position="replace" mode="inner">
296296
<b>Mich Stark</b>
297297
</xpath>
298298
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//p" position="replace" mode="inner">
@@ -302,7 +302,7 @@
302302
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.
303303
</xpath>
304304
<!-- Profile #3 -->
305-
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//h4" position="replace" mode="inner">
305+
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//h3" position="replace" mode="inner">
306306
<b>Aline Turner</b>
307307
</xpath>
308308
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//p" position="replace" mode="inner">
@@ -312,7 +312,7 @@
312312
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.
313313
</xpath>
314314
<!-- Profile #4 -->
315-
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[4]//h4" position="replace" mode="inner">
315+
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[4]//h3" position="replace" mode="inner">
316316
<b>Iris Joe</b>
317317
</xpath>
318318
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[4]//p" position="replace" mode="inner">

theme_notes/views/snippets/s_company_team.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@
77
<attribute name="class" add="o_cc o_cc2 pb128" remove="pb48" separator=" "/>
88
</xpath>
99
<!-- Member #1 -->
10-
<xpath expr="//div[hasclass('col-lg-9')]//h4" position="replace" mode="inner">
10+
<xpath expr="//div[hasclass('col-lg-9')]//h3" position="replace" mode="inner">
1111
Tony
1212
</xpath>
1313
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace" mode="inner"/>
1414
<xpath expr="//div[hasclass('col-lg-9')]//p[2]" position="replace" mode="inner">
1515
Tony is praised for the quality of his flow and beats but often criticised because of the controversial nature of his lyrics. He has also established a label, and developed a line of jewellery.
1616
</xpath>
1717
<!-- Member #2 -->
18-
<xpath expr="(//div[hasclass('col-lg-9')])[2]//h4" position="replace" mode="inner">
18+
<xpath expr="(//div[hasclass('col-lg-9')])[2]//h3" position="replace" mode="inner">
1919
Aline
2020
</xpath>
2121
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p" position="replace" mode="inner"/>
2222
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p[2]" position="replace" mode="inner">
2323
Aline is a French singer, songwriter and producer. In 2016, she was ranked as the most powerful and influential French person by Vanity Fair, who noticed her radiance of French genius.
2424
</xpath>
2525
<!-- Member #3 -->
26-
<xpath expr="(//div[hasclass('col-lg-9')])[3]//h4" position="replace" mode="inner">
26+
<xpath expr="(//div[hasclass('col-lg-9')])[3]//h3" position="replace" mode="inner">
2727
Mich Starck
2828
</xpath>
2929
<xpath expr="(//div[hasclass('col-lg-9')])[3]//p" position="replace" mode="inner"/>
3030
<xpath expr="(//div[hasclass('col-lg-9')])[3]//p[2]" position="replace" mode="inner">
3131
Mich Starck is a French DJ, record producer and songwriter. He has sold over nine million albums and thirty million singles worldwide. In 2011, he was voted as the number one DJ in the DJ Mag Top 100 DJs poll.
3232
</xpath>
3333
<!-- Member #4 -->
34-
<xpath expr="(//div[hasclass('col-lg-9')])[4]//h4" position="replace" mode="inner">
34+
<xpath expr="(//div[hasclass('col-lg-9')])[4]//h3" position="replace" mode="inner">
3535
Joseris
3636
</xpath>
3737
<xpath expr="(//div[hasclass('col-lg-9')])[4]//p" position="replace" mode="inner"/>

theme_yes/views/snippets/s_company_team.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</xpath>
99
<xpath expr="//p" position="replace"/>
1010
<!-- Row #1 - Col #1 -->
11-
<xpath expr="//div[hasclass('col-lg-9')]//h4" position="replace" mode="inner">
11+
<xpath expr="//div[hasclass('col-lg-9')]//h3" position="replace" mode="inner">
1212
Livia Sailor
1313
</xpath>
1414
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace" mode="inner">
@@ -18,7 +18,7 @@
1818
Livia is our head wedding coordinator and stylist, she'll turn any of your ideas into reality, making sure your wedding day is smooth and looks better than anything you have ever seen on Pinterest.
1919
</xpath>
2020
<!-- Row #1 - Col #2 -->
21-
<xpath expr="(//div[hasclass('col-lg-9')])[2]//h4" position="replace" mode="inner">
21+
<xpath expr="(//div[hasclass('col-lg-9')])[2]//h3" position="replace" mode="inner">
2222
Clair Stark
2323
</xpath>
2424
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p" position="replace" mode="inner">

0 commit comments

Comments
 (0)