Update experience layout and yaml structure.
This commit is contained in:
parent
1270bc2b01
commit
caadf1948f
2 changed files with 32 additions and 33 deletions
|
@ -1,20 +1,27 @@
|
|||
- name: "CEO"
|
||||
company: "Google"
|
||||
- company: Uber
|
||||
roles:
|
||||
- role: Data Scientist
|
||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
||||
Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta.
|
||||
Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit"
|
||||
date: "2019 - Present"
|
||||
date: "10.2020 - Present"
|
||||
|
||||
- name: "Junior Software Developer"
|
||||
company: "Google"
|
||||
date: "10.2018 - Present"
|
||||
- company: Google
|
||||
roles:
|
||||
- role: Senior Software Developer
|
||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
||||
Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta.
|
||||
Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit"
|
||||
Aenean nec volutpat arcu. Maecenas quis tempus risus. "
|
||||
date: "06.2019 - 10.2020"
|
||||
|
||||
- name: "CTO"
|
||||
company: "Uber"
|
||||
date: "11.2016 - 07.2017"
|
||||
- role: Junior Software Developer
|
||||
date: "10.2018 - 06.2019"
|
||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
||||
Aenean nec volutpat arcu. Maecenas quis tempus risus. "
|
||||
|
||||
- company: Uber
|
||||
roles:
|
||||
- role: Driver
|
||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
||||
Aenean nec volutpat arcu. Maecenas quis tempus risus. Curabitur condimentum ligula in erat pharetra porta.
|
||||
Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit"
|
||||
date: "2017 - 2018"
|
|
@ -1,22 +1,14 @@
|
|||
<div class="section">
|
||||
<h1 class="section-title">{{ .Site.Params.title_as.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 }}
|
||||
<h3 class="item-title">{{ .company }}</h3>
|
||||
{{ range .roles }}
|
||||
<div class="item">
|
||||
<div class="flex-row">
|
||||
<span class="job-title">{{ .name }}</span>
|
||||
<span class="date">{{ .date }}</span></div>
|
||||
<span class="job-title">{{ .role }}</span>
|
||||
<span class="date">{{ .date }}</span>
|
||||
</div>
|
||||
<p>{{ .details | markdownify }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue