diff --git a/exampleSite/data/skillSection.yml b/exampleSite/data/skillSection.yml index 0e82a42..8c1a50d 100644 --- a/exampleSite/data/skillSection.yml +++ b/exampleSite/data/skillSection.yml @@ -3,6 +3,7 @@ enable: true topTitle: My Skills title: Why hire me for your next project? subtitle: My goal is to build a strong supportive professional network among all freelancers and startups in order to improve their performance. +image: images/skill/skill_image.jpg skill: - title: HTML diff --git a/layouts/partials/skillSection.html b/layouts/partials/skillSection.html index 6781d33..f68e873 100644 --- a/layouts/partials/skillSection.html +++ b/layouts/partials/skillSection.html @@ -1,62 +1,62 @@ {{ with .Site.Data.skillSection }} - {{ if .enable }} -
-
- - - - - - - - - - - -
-
- background-shape -
-
-
-
-
-
- figure-svg -
-
- skill-img -
-
+ '> +
+
+
+
+
+
+ {{ .topTitle }} +

{{ .title }}

+

{{ .subtitle }}

-
-
-
- {{ .topTitle }} -

{{ .title }}

-

{{ .subtitle }}

-
- {{ $section := .skill }} - {{ range $section }} -
-
{{ .title }}
-
{{ .percent }}%
-
-
-
-
- {{ end }} + {{ $section := .skill }} + {{ range $section }} +
+
{{ .title }}
+
{{ .percent }}%
+
+
+ {{ end }}
-
- {{ end }} + + + +{{ end }} {{ end }} \ No newline at end of file