1- {{ if .Site.Params.experience.enable | default false }}
2- < section id ="experience " class ="py-5 ">
1+ < section id ="{{ .id | default .type }} " class ="experience py-5 ">
32 < div class ="container ">
4- < h3 class ="text-center "> {{ .Site.Params.experience. title | default "Experience" }}</ h3 >
3+ < h3 class ="text-center "> {{ .title | default (strings.FirstUpper .type) }}</ h3 >
54 < div class ="row justify-content-center ">
65 < div class ="col-sm-12 col-md-8 col-lg-8 py-5 ">
76 < div class ="experience-container px-3 pt-2 ">
87 < ul class ="nav nav-pills mb-3 bg-transparent primary-font " id ="pills-tab " role ="tablist ">
9- {{ range $index, $element := .Site.Params.experience. items }}
8+ {{ range $index, $element := .items }}
109 {{ if (eq $index 0) }}
1110 < li class ="nav-item px-1 bg-transparent " role ="presentation ">
12- < div
13- class ="nav-link active bg-transparent "
14- aria-selected ="true "
15- role ="tab "
11+ < div
12+ class ="nav-link active bg-transparent "
13+ aria-selected ="true "
14+ role ="tab "
1615 data-bs-toggle ="pill "
1716 id ='{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab '
1817 data-bs-target ='#pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
19- aria-controls ='{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
18+ aria-controls ='{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
2019 >
2120 {{ .company }}
2221 </ div >
2322 </ li >
2423 {{ else }}
2524 < li class ="nav-item px-1 bg-transparent " role ="presentation ">
26- < div
27- class ="nav-link bg-transparent "
28- aria-selected ="true "
29- role ="tab "
25+ < div
26+ class ="nav-link bg-transparent "
27+ aria-selected ="true "
28+ role ="tab "
3029 data-bs-toggle ="pill "
3130 id ='{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab '
32- data-bs-target ='#pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
31+ data-bs-target ='#pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
3332 aria-controls ='{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
3433 >
3534 {{ .company }}
@@ -39,10 +38,10 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
3938 {{ end }}
4039 </ ul >
4140 < div class ="tab-content pb-5 pt-2 bg-transparent primary-font " id ="pills-tabContent ">
42- {{ range $index, $element := .Site.Params.experience. items }}
41+ {{ range $index, $element := .items }}
4342 {{ if (eq $index 0) }}
44- < div
45- class ="tab-pane fade show active bg-transparent "
43+ < div
44+ class ="tab-pane fade show active bg-transparent "
4645 role ="tabpanel "
4746 id ='pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
4847 aria-labelledby ='pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab '
@@ -55,10 +54,10 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
5554 < small > {{ .date }}</ small >
5655 {{ if .info.enable | default true }}
5756 < span class ="p-2 ">
58- < span
59- style ="cursor: pointer; "
60- data-bs-toggle ="tooltip "
61- data-bs-placement ="top "
57+ < span
58+ style ="cursor: pointer; "
59+ data-bs-toggle ="tooltip "
60+ data-bs-placement ="top "
6261 data-bs-original-title ={{ .info.content | default (print "Working as a " .job " at " .company ) }}
6362 >
6463 < i class ="fas fa-info-circle fa-xs "> </ i >
@@ -70,7 +69,7 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
7069 {{ if .featuredLink.enable | default false }}
7170 < div class ="py-2 featuredLink ">
7271 < a class ="p-2 px-4 btn btn-outline-primary btn-sm " href ={{ .featuredLink.url | default "#" }} target="_blank ">
73- {{ .featuredLink.name | default "Featured Link" }}
72+ {{ .featuredLink.name | default "Featured Link" }}
7473 </ a >
7574 </ div >
7675 {{ end }}
@@ -79,8 +78,8 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
7978 {{ .content | markdownify}}
8079 </ div >
8180 {{ else }}
82- < div
83- class ="tab-pane fade bg-transparent "
81+ < div
82+ class ="tab-pane fade bg-transparent "
8483 role ="tabpanel "
8584 id ='pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }} '
8685 aria-labelledby ='pills-{{ replace .company " " "-" }}-{{ replace .date " " "-" }}-tab '
@@ -89,27 +88,27 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
8988 < span class ="h4 "> {{ .job }}</ span >
9089 < small > -</ small >
9190 < a href ="{{ .companyUrl }} " target ="_blank "> {{ .company }}</ a >
92-
91+
9392 < div class ="pb-1 ">
9493 < small > {{ .date }}</ small >
9594 {{ if .info.enable | default true }}
9695 < span class ="p-2 ">
97- < span
98- style ="cursor: pointer; "
99- data-bs-toggle ="tooltip "
100- data-bs-placement ="top "
96+ < span
97+ style ="cursor: pointer; "
98+ data-bs-toggle ="tooltip "
99+ data-bs-placement ="top "
101100 data-bs-original-title ={{ .info.content | default (print "Worked as a " .job " at " .company ) }}
102- >
101+ >
103102 < i class ="fas fa-info-circle fa-xs "> </ i >
104103 </ span >
105104 </ span >
106105 {{ end }}
107106 </ div >
108-
107+
109108 {{ if .featuredLink.enable | default false }}
110109 < div class ="py-2 featuredLink ">
111110 < a class ="p-2 px-4 btn btn-outline-primary btn-sm " href ={{ .featuredLink.url | default "#" }} target="_blank ">
112- {{ .featuredLink.name | default "Featured Link" }}
111+ {{ .featuredLink.name | default "Featured Link" }}
113112 </ a >
114113 </ div >
115114 {{ end }}
@@ -127,4 +126,3 @@ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience"
127126 </ div >
128127 </ div >
129128</ section >
130- {{ end }}
0 commit comments