diff --git a/layouts/partials/experiences/experience-info.html b/layouts/partials/experiences/experience-info.html index 32df172..26af6fc 100644 --- a/layouts/partials/experiences/experience-info.html +++ b/layouts/partials/experiences/experience-info.html @@ -1,14 +1,6 @@ -
-
-
{{ .designation }}
-
{{ .company.name }}
-

{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}

-
-

{{ .company.overview | markdownify }}

-
Responsibilities:
- -
+{{ if .projects }} + {{ partial "experiences/info/multiple-projects.html" . }} +{{ else }} + {{ partial "experiences/info/one-project.html" . }} +{{ end }} + diff --git a/layouts/partials/experiences/info/multiple-projects.html b/layouts/partials/experiences/info/multiple-projects.html new file mode 100644 index 0000000..0a2d832 --- /dev/null +++ b/layouts/partials/experiences/info/multiple-projects.html @@ -0,0 +1,14 @@ +
+
+
{{ .company.name }}
+
{{ .designation }}
+

{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}

+
+

{{ .company.overview | markdownify }}

+
Responsibilities:
+ +
diff --git a/layouts/partials/experiences/info/one-project.html b/layouts/partials/experiences/info/one-project.html new file mode 100644 index 0000000..cf2c3bf --- /dev/null +++ b/layouts/partials/experiences/info/one-project.html @@ -0,0 +1,14 @@ +
+
+
{{ .company.name }}
+
{{ if .designation }} {{ .designation }} {{end}}
+

{{ .start }} - {{ .end }} , {{ .company.location }}

+
+

{{ .company.overview | markdownify }}

+
Responsibilities:
+ +