diff --git a/exampleSite/data/about.yaml b/exampleSite/data/about.yaml index 3b8d60de200..5fac0376219 100644 --- a/exampleSite/data/about.yaml +++ b/exampleSite/data/about.yaml @@ -5,13 +5,11 @@ company: name: Example Co. url: "https://www.example.com" -# your resume +# your resume. this file path should be relative to you "static" directory resume: "files/resume.pdf" # a summary about you -summary: 'I am a passionate software engineer with x years of working - experience. I built OSS tools for [Kubernetes](https://kubernetes.io/) using GO. My tools helps people to - deploy their workloads in Kuberenetes. Sometimes, I work on some fun projects such as writing a theme etc.' +summary: 'I am a passionate software engineer with x years of working experience. I built OSS tools for [Kubernetes](https://kubernetes.io/) using GO. My tools help people to deploy their workloads in Kubernetes. Sometimes, I work on some fun projects such as writing a theme, etc.' # your social links # give as many as you want. use font-awesome for the icons. @@ -38,9 +36,10 @@ socialLinks: - name: Facebook icon: "fab fa-facebook" + url: "#" # your soft skills -# give the percentage between 50 to 100 with 5 interval. +# give the percentage between 50 to 100 with 5 intervals. # currently supported color: blue, yellow, pink, green softSkills: - name: Leadership diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3e76fd3a01e..f90e77f3ab0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -80,6 +80,7 @@

{{ .Page.Title }}

{{ define "scripts" }} + diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 2c1e12eda41..8c94fe27ce0 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,39 +1,41 @@
- -
-

{{ .Site.Data.home.author.name }}

-
- {{ .Site.Data.about.designation }} at - {{ .Site.Data.about.company.name }} +
+

{{ .Site.Data.home.author.name }}

+
+ {{ .Site.Data.about.designation }} at + {{ .Site.Data.about.company.name }} +
+

+ {{ .Site.Data.about.summary | markdownify }} +

+
+ +
+ -
-

- {{ .Site.Data.about.summary | markdownify }} -

-
-
- -
- -
-
- {{ range .Site.Data.about.softSkills }} - {{ partial "progress/soft-skills" . }} - {{ end }} + +
+
+ {{ range .Site.Data.about.softSkills }} + {{ partial "progress/soft-skills" . }} + {{ end }} +
-
+ {{ end }}
diff --git a/layouts/partials/achievements.html b/layouts/partials/achievements.html index 30cebc44be5..7cc6ebf8220 100644 --- a/layouts/partials/achievements.html +++ b/layouts/partials/achievements.html @@ -1,14 +1,16 @@
-

Achievements

+ {{ if .Site.Data.achievements }} +

Achievements

-
- - -
- {{ range .Site.Data.achievements.achievements }} - {{ partial "misc/achievement.html" . }} - {{ end }} -
+ +
+ {{ range .Site.Data.achievements.achievements }} + {{ partial "misc/achievement.html" . }} + {{ end }} +
+ {{ end }}
diff --git a/layouts/partials/cards/recent-post.html b/layouts/partials/cards/recent-post.html index 540819575b7..997145c0d5a 100644 --- a/layouts/partials/cards/recent-post.html +++ b/layouts/partials/cards/recent-post.html @@ -2,7 +2,7 @@
- Card image cap
diff --git a/layouts/partials/experiences.html b/layouts/partials/experiences.html index c8b430d8391..3eedca8c3e0 100644 --- a/layouts/partials/experiences.html +++ b/layouts/partials/experiences.html @@ -1,7 +1,8 @@
-

Experiences

-
- {{ if .Site.Data }} + {{ if .Site.Data.experiences }} +

Experiences

+ +
{{ $total:= len .Site.Data.experiences.experiences }} {{ range $idx,$val:= .Site.Data.experiences.experiences }} {{ if eq (mod $idx 2) 0 }} @@ -22,6 +23,6 @@

Experiences

{{ end }} {{ end }} {{ end }} - {{ end }} -
+
+ {{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 44c31c90ba4..85ede46de37 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,13 +3,15 @@
Navigation
-
+ {{ if .Site.Data.site }} +
    + {{ range .Site.Data.site.menus }} + + {{ end }} +
+ {{ end }}
Contact Me
diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 8e3c9dc5d1d..0343fc392da 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -1,14 +1,14 @@
- -

Hi, I am {{ .Site.Data.site.author.name -}}

+

Hi, I am {{ if .Site.Data.author.name }}{{ .Site.Data.site.author.name }}{{ else }}Jane Doe{{ end }} +