fixed #23
This commit is contained in:
@@ -29,21 +29,55 @@
|
|||||||
role="tablist" aria-orientation="vertical">
|
role="tablist" aria-orientation="vertical">
|
||||||
{{ range $index, $element := .Site.Params.experience }}
|
{{ range $index, $element := .Site.Params.experience }}
|
||||||
{{ if (eq $index 0) }}
|
{{ if (eq $index 0) }}
|
||||||
|
{{ if .id }}
|
||||||
|
<a class="nav-link active" id="{{ .id }}-tab" data-toggle="pill" href="#{{ .id }}" role="tab"
|
||||||
|
aria-controls="{{ .id }}" aria-selected="true">
|
||||||
|
{{ .company }}
|
||||||
|
</a>
|
||||||
|
{{ else }}
|
||||||
<a class="nav-link active" id="{{ .company }}-tab" data-toggle="pill" href="#{{ .company }}" role="tab"
|
<a class="nav-link active" id="{{ .company }}-tab" data-toggle="pill" href="#{{ .company }}" role="tab"
|
||||||
aria-controls="{{ .company }}" aria-selected="true">
|
aria-controls="{{ .company }}" aria-selected="true">
|
||||||
{{ .company }}
|
{{ .company }}
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
{{ else }}
|
||||||
|
{{ if .id }}
|
||||||
|
<a class="nav-link" id="{{ .id }}-tab" data-toggle="pill" href="#{{ .id }}" role="tab" aria-controls="{{ .id }}"
|
||||||
|
aria-selected="false">
|
||||||
|
{{ .company }}
|
||||||
|
</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a class="nav-link" id="{{ .company }}-tab" data-toggle="pill" href="#{{ .company }}" role="tab"
|
<a class="nav-link" id="{{ .company }}-tab" data-toggle="pill" href="#{{ .company }}" role="tab"
|
||||||
aria-controls="{{ .company }}" aria-selected="false">
|
aria-controls="{{ .company }}" aria-selected="false">
|
||||||
{{ .company }}
|
{{ .company }}
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }} {{ end }}
|
{{ end }} {{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-content col-md-4 d-none d-md-block" id="v-pills-tabContent">
|
<div class="tab-content col-md-4 d-none d-md-block" id="v-pills-tabContent">
|
||||||
{{ range $index, $element := .Site.Params.experience }}
|
{{ range $index, $element := .Site.Params.experience }}
|
||||||
{{ if (eq $index 0) }}
|
{{ if (eq $index 0) }}
|
||||||
|
{{ if .id }}
|
||||||
|
<div class="tab-pane fade show active" id="{{ .id }}" role="tabpanel" aria-labelledby="{{ .id }}-tab">
|
||||||
|
<div class="h4 text-muted">
|
||||||
|
<span class="text-primary">{{ .company }}</span> - {{ .role }}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<small>{{ .startdate }}</small>
|
||||||
|
-
|
||||||
|
<small>{{ .enddate }}</small>
|
||||||
|
</div>
|
||||||
|
<ul class="py-2 ex">
|
||||||
|
{{ range .featuredpoints }}
|
||||||
|
<li class="ex-item">{{ .point }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
<div class="tab-pane fade show active" id="{{ .company }}" role="tabpanel" aria-labelledby="{{ .company }}-tab">
|
<div class="tab-pane fade show active" id="{{ .company }}" role="tabpanel" aria-labelledby="{{ .company }}-tab">
|
||||||
<div class="h4 text-muted">
|
<div class="h4 text-muted">
|
||||||
<span class="text-primary">{{ .company }}</span> - {{ .role }}
|
<span class="text-primary">{{ .company }}</span> - {{ .role }}
|
||||||
@@ -59,6 +93,25 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ else }}
|
||||||
|
{{ if .id }}
|
||||||
|
<div class="tab-pane fade" id="{{ .id }}" role="tabpanel" aria-labelledby="{{ .id }}-tab">
|
||||||
|
<div class="h4 text-muted">
|
||||||
|
<span class="text-primary">{{ .company }}</span> - {{ .role }}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<small>{{ .startdate }}</small>
|
||||||
|
-
|
||||||
|
<small>{{ .enddate }}</small>
|
||||||
|
</div>
|
||||||
|
<ul class="py-2 ex">
|
||||||
|
{{ range .featuredpoints }}
|
||||||
|
<li class="ex-item">{{ .point }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="tab-pane fade" id="{{ .company }}" role="tabpanel" aria-labelledby="{{ .company }}-tab">
|
<div class="tab-pane fade" id="{{ .company }}" role="tabpanel" aria-labelledby="{{ .company }}-tab">
|
||||||
<div class="h4 text-muted">
|
<div class="h4 text-muted">
|
||||||
@@ -75,6 +128,8 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+4
-1
@@ -4,7 +4,7 @@ title: "Hugo-profile"
|
|||||||
theme: "./.."
|
theme: "./.."
|
||||||
relativeURLs: true
|
relativeURLs: true
|
||||||
|
|
||||||
googleanalytics: UA-xxxxxx-x
|
googleanalytics: UA-167646412-8
|
||||||
disqusShortname:
|
disqusShortname:
|
||||||
Paginate: 3
|
Paginate: 3
|
||||||
markup:
|
markup:
|
||||||
@@ -57,6 +57,7 @@ params:
|
|||||||
disable_experience: false
|
disable_experience: false
|
||||||
experience:
|
experience:
|
||||||
- company: "Google"
|
- company: "Google"
|
||||||
|
# id: "google-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Software developer"
|
role: "Software developer"
|
||||||
startdate: Feb 2021
|
startdate: Feb 2021
|
||||||
enddate: present
|
enddate: present
|
||||||
@@ -64,6 +65,7 @@ params:
|
|||||||
- point: Lead backend developer for a product.
|
- point: Lead backend developer for a product.
|
||||||
- point: Created a frontend design for a product.
|
- point: Created a frontend design for a product.
|
||||||
- company: "Facebook"
|
- company: "Facebook"
|
||||||
|
# id: "facebook-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Fullstack developer"
|
role: "Fullstack developer"
|
||||||
startdate: Mar 2020
|
startdate: Mar 2020
|
||||||
enddate: Dec 2020
|
enddate: Dec 2020
|
||||||
@@ -71,6 +73,7 @@ params:
|
|||||||
- point: Lead backend developer for a product.
|
- point: Lead backend developer for a product.
|
||||||
- point: Created a frontend design for a product.
|
- point: Created a frontend design for a product.
|
||||||
- company: "Amazon"
|
- company: "Amazon"
|
||||||
|
# id: "amazon-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Fullstack developer"
|
role: "Fullstack developer"
|
||||||
startdate: Feb 2019
|
startdate: Feb 2019
|
||||||
enddate: Jan 2020
|
enddate: Jan 2020
|
||||||
|
|||||||
+4
-1
@@ -1,4 +1,4 @@
|
|||||||
baseURL: "https://example.com"
|
baseURL: "https://profile.gurusabarish.tech"
|
||||||
languageCode: "en-us"
|
languageCode: "en-us"
|
||||||
title: "Hugo-profile"
|
title: "Hugo-profile"
|
||||||
theme: "./.."
|
theme: "./.."
|
||||||
@@ -57,6 +57,7 @@ params:
|
|||||||
disable_experience: false
|
disable_experience: false
|
||||||
experience:
|
experience:
|
||||||
- company: "Google"
|
- company: "Google"
|
||||||
|
# id: "google-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Software developer"
|
role: "Software developer"
|
||||||
startdate: Feb 2021
|
startdate: Feb 2021
|
||||||
enddate: present
|
enddate: present
|
||||||
@@ -64,6 +65,7 @@ params:
|
|||||||
- point: Lead backend developer for a product.
|
- point: Lead backend developer for a product.
|
||||||
- point: Created a frontend design for a product.
|
- point: Created a frontend design for a product.
|
||||||
- company: "Facebook"
|
- company: "Facebook"
|
||||||
|
# id: "facebook-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Fullstack developer"
|
role: "Fullstack developer"
|
||||||
startdate: Mar 2020
|
startdate: Mar 2020
|
||||||
enddate: Dec 2020
|
enddate: Dec 2020
|
||||||
@@ -71,6 +73,7 @@ params:
|
|||||||
- point: Lead backend developer for a product.
|
- point: Lead backend developer for a product.
|
||||||
- point: Created a frontend design for a product.
|
- point: Created a frontend design for a product.
|
||||||
- company: "Amazon"
|
- company: "Amazon"
|
||||||
|
# id: "amazon-developer" // use this, when you want to change the id(used for navigation)
|
||||||
role: "Fullstack developer"
|
role: "Fullstack developer"
|
||||||
startdate: Feb 2019
|
startdate: Feb 2019
|
||||||
enddate: Jan 2020
|
enddate: Jan 2020
|
||||||
|
|||||||
Reference in New Issue
Block a user