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

gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/experience.html')
-rw-r--r--layouts/partials/experience.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/experience.html b/layouts/partials/experience.html
new file mode 100644
index 0000000..b1068e8
--- /dev/null
+++ b/layouts/partials/experience.html
@@ -0,0 +1,25 @@
+<div class="section">
+ <h1 class="section-title">Experience</h1>
+ {{ $companies := slice }}
+ {{ range .Site.Data.experience }}
+ {{ $companies = $companies | append .company }}
+{{ end }}
+
+{{ $companies = uniq $companies }}
+
+{{ range $companies }}
+ {{ $company := . }}
+
+ <div class="item group">
+ <h3 class="item-title">{{ $company }}</h3>
+ {{ range where $.Site.Data.experience "company" $company }}
+ <div class="item">
+ <div class="flex-row">
+ <span class="job-title">{{ .name }}</span>
+ <span class="date">{{ .date }}</span></div>
+ <p>{{ .details | markdownify }}</p>
+ </div>
+ {{ end }}
+ </div>
+{{ end }}
+</div> \ No newline at end of file