diff --git a/.gitignore b/.gitignore
index ed4e1db4..f3a73b58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
/content
/static/images
.vscode
+.DS_Store
### Hugo ###
# Generated files by hugo
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 2babb32a..3f295910 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -159,69 +159,70 @@ params:
- "Express"
# Experience
- experience:
- enable: true
- # title: "Custom Name"
- items:
- - job: "Senior Software Developer"
- company: "Facebook"
- companyUrl: "https://example.com"
- date: "Jan 2022 - present"
- featuredLink:
- enable: true
- name: "View the project"
- url: "https://example.com"
- content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
-
- - job: "Software Developer"
- company: "Amazon"
- companyUrl: "https://example.com"
- date: "Sep 2020 - Dec 2021"
- featuredLink:
- enable: true
- url: "https://example.com"
- info:
- enable: true
- content: I worked as a software developer for more than one year in Amazon.
- content: |
- I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
-
- - Lead backend developer for a product.
- - Created a frontend design for a product.
-
- - job: "Junior Software Developer"
- company: "Apple"
- companyUrl: "https://example.com"
- date: "Jan 2020 - Aug 2020"
- info:
- enable: false
- featuredLink:
- enable: true
- url: "https://example.com"
- content: |
- I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
-
- - Lead backend developer for a product.
- - Created a frontend design for a product.
-
- - job: "UI/UX Designer"
- company: "Netflix"
- companyUrl: "https://example.com"
- date: "June 2017 - Nov 2019"
- featuredLink:
- enable: true
- url: "https://example.com"
- content: |
- I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
-
- - Lead backend developer for a product.
- - Created a frontend design for a product.
-
- - job: "Product Designer"
- company: "Google"
- companyUrl: "https://example.com"
- date: "Feb 2016 - Mar 2017"
- content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
+ experiences:
+ - key: "exp"
+ enable: true
+ # title: "Custom Name"
+ items:
+ - job: "Senior Software Developer"
+ company: "Facebook"
+ companyUrl: "https://example.com"
+ date: "Jan 2022 - present"
+ featuredLink:
+ enable: true
+ name: "View the project"
+ url: "https://example.com"
+ content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
+
+ - job: "Software Developer"
+ company: "Amazon"
+ companyUrl: "https://example.com"
+ date: "Sep 2020 - Dec 2021"
+ featuredLink:
+ enable: true
+ url: "https://example.com"
+ info:
+ enable: true
+ content: I worked as a software developer for more than one year in Amazon.
+ content: |
+ I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
+
+ - Lead backend developer for a product.
+ - Created a frontend design for a product.
+
+ - job: "Junior Software Developer"
+ company: "Apple"
+ companyUrl: "https://example.com"
+ date: "Jan 2020 - Aug 2020"
+ info:
+ enable: false
+ featuredLink:
+ enable: true
+ url: "https://example.com"
+ content: |
+ I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
+
+ - Lead backend developer for a product.
+ - Created a frontend design for a product.
+
+ - job: "UI/UX Designer"
+ company: "Netflix"
+ companyUrl: "https://example.com"
+ date: "June 2017 - Nov 2019"
+ featuredLink:
+ enable: true
+ url: "https://example.com"
+ content: |
+ I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city.
+
+ - Lead backend developer for a product.
+ - Created a frontend design for a product.
+
+ - job: "Product Designer"
+ company: "Google"
+ companyUrl: "https://example.com"
+ date: "Feb 2016 - Mar 2017"
+ content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
# Education
education:
diff --git a/layouts/index.html b/layouts/index.html
index 146fb5b6..ba53c506 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -14,7 +14,9 @@
{{ define "main" }}
{{- partial "sections/hero/index.html" . -}}
{{- partial "sections/about.html" . -}}
-{{- partial "sections/experience.html" . -}}
+{{ range $index, $element := .Site.Params.experiences }}
+ {{- partial "sections/experience/experience.html" $element -}}
+{{ end }}
{{- partial "sections/education.html" . -}}
{{- partial "sections/projects.html" . -}}
{{- partial "sections/achievements.html" . -}}
diff --git a/layouts/partials/sections/experience.html b/layouts/partials/sections/experience.html
deleted file mode 100644
index f9c2d13d..00000000
--- a/layouts/partials/sections/experience.html
+++ /dev/null
@@ -1,130 +0,0 @@
-{{ if .Site.Params.experience.enable | default false }}
-{{ .Site.Params.experience.title | default "Experience" }}
-