Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgurusabarish <gurusabarisha@gmail.com>2021-08-15 20:49:56 +0300
committergurusabarish <gurusabarisha@gmail.com>2021-08-15 20:49:56 +0300
commite28c89f69ff5b2f442e4547586595e287b7b6ced (patch)
tree872bc38f9140a31f25835d0ed27c160618715992
parent1f74ee3a66cc86256c81557528c235c7894f93b1 (diff)
fixed #23
-rw-r--r--layouts/partials/sections/v3/experience.html55
-rw-r--r--website/config.yaml5
-rw-r--r--website/v3.yaml5
3 files changed, 63 insertions, 2 deletions
diff --git a/layouts/partials/sections/v3/experience.html b/layouts/partials/sections/v3/experience.html
index 421ec76..793c82d 100644
--- a/layouts/partials/sections/v3/experience.html
+++ b/layouts/partials/sections/v3/experience.html
@@ -29,21 +29,55 @@
role="tablist" aria-orientation="vertical">
{{ range $index, $element := .Site.Params.experience }}
{{ 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"
aria-controls="{{ .company }}" aria-selected="true">
{{ .company }}
</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 }}
<a class="nav-link" id="{{ .company }}-tab" data-toggle="pill" href="#{{ .company }}" role="tab"
aria-controls="{{ .company }}" aria-selected="false">
{{ .company }}
</a>
+ {{ end }}
+
{{ end }} {{ end }}
</div>
<div class="tab-content col-md-4 d-none d-md-block" id="v-pills-tabContent">
{{ range $index, $element := .Site.Params.experience }}
{{ 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="h4 text-muted">
<span class="text-primary">{{ .company }}</span> - {{ .role }}
@@ -59,6 +93,25 @@
{{ end }}
</ul>
</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 }}
<div class="tab-pane fade" id="{{ .company }}" role="tabpanel" aria-labelledby="{{ .company }}-tab">
<div class="h4 text-muted">
@@ -76,6 +129,8 @@
</ul>
</div>
{{ end }}
+
+ {{ end }}
{{ end }}
</div>
</div>
diff --git a/website/config.yaml b/website/config.yaml
index 92f905a..d0b5c63 100644
--- a/website/config.yaml
+++ b/website/config.yaml
@@ -4,7 +4,7 @@ title: "Hugo-profile"
theme: "./.."
relativeURLs: true
-googleanalytics: UA-xxxxxx-x
+googleanalytics: UA-167646412-8
disqusShortname:
Paginate: 3
markup:
@@ -57,6 +57,7 @@ params:
disable_experience: false
experience:
- company: "Google"
+ # id: "google-developer" // use this, when you want to change the id(used for navigation)
role: "Software developer"
startdate: Feb 2021
enddate: present
@@ -64,6 +65,7 @@ params:
- point: Lead backend developer for a product.
- point: Created a frontend design for a product.
- company: "Facebook"
+ # id: "facebook-developer" // use this, when you want to change the id(used for navigation)
role: "Fullstack developer"
startdate: Mar 2020
enddate: Dec 2020
@@ -71,6 +73,7 @@ params:
- point: Lead backend developer for a product.
- point: Created a frontend design for a product.
- company: "Amazon"
+ # id: "amazon-developer" // use this, when you want to change the id(used for navigation)
role: "Fullstack developer"
startdate: Feb 2019
enddate: Jan 2020
diff --git a/website/v3.yaml b/website/v3.yaml
index 543dff0..ec3710d 100644
--- a/website/v3.yaml
+++ b/website/v3.yaml
@@ -1,4 +1,4 @@
-baseURL: "https://example.com"
+baseURL: "https://profile.gurusabarish.tech"
languageCode: "en-us"
title: "Hugo-profile"
theme: "./.."
@@ -57,6 +57,7 @@ params:
disable_experience: false
experience:
- company: "Google"
+ # id: "google-developer" // use this, when you want to change the id(used for navigation)
role: "Software developer"
startdate: Feb 2021
enddate: present
@@ -64,6 +65,7 @@ params:
- point: Lead backend developer for a product.
- point: Created a frontend design for a product.
- company: "Facebook"
+ # id: "facebook-developer" // use this, when you want to change the id(used for navigation)
role: "Fullstack developer"
startdate: Mar 2020
enddate: Dec 2020
@@ -71,6 +73,7 @@ params:
- point: Lead backend developer for a product.
- point: Created a frontend design for a product.
- company: "Amazon"
+ # id: "amazon-developer" // use this, when you want to change the id(used for navigation)
role: "Fullstack developer"
startdate: Feb 2019
enddate: Jan 2020