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: Uber
|
||||||
company: "Google"
|
roles:
|
||||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
- 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.
|
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"
|
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
|
||||||
company: "Google"
|
roles:
|
||||||
date: "10.2018 - Present"
|
- role: Senior Software Developer
|
||||||
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
details: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare sollicitudin fringilla.
|
||||||
|
Aenean nec volutpat arcu. Maecenas quis tempus risus. "
|
||||||
|
date: "06.2019 - 10.2020"
|
||||||
|
|
||||||
|
- 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.
|
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"
|
Nam suscipit nisi a bibendum lacinia. Donec aliquet, nibh dignissim placerat efficit"
|
||||||
|
date: "2017 - 2018"
|
||||||
- name: "CTO"
|
|
||||||
company: "Uber"
|
|
||||||
date: "11.2016 - 07.2017"
|
|
||||||
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"
|
|
|
@ -1,25 +1,17 @@
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<h1 class="section-title">{{ .Site.Params.title_as.experience }}</h1>
|
<h1 class="section-title">{{ .Site.Params.title_as.experience }}</h1>
|
||||||
{{ $companies := slice }}
|
|
||||||
{{ range .Site.Data.experience }}
|
{{ range .Site.Data.experience }}
|
||||||
{{ $companies = $companies | append .company }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ $companies = uniq $companies }}
|
|
||||||
|
|
||||||
{{ range $companies }}
|
|
||||||
{{ $company := . }}
|
|
||||||
|
|
||||||
<div class="item group">
|
<div class="item group">
|
||||||
<h3 class="item-title">{{ $company }}</h3>
|
<h3 class="item-title">{{ .company }}</h3>
|
||||||
{{ range where $.Site.Data.experience "company" $company }}
|
{{ range .roles }}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="flex-row">
|
<div class="flex-row">
|
||||||
<span class="job-title">{{ .name }}</span>
|
<span class="job-title">{{ .role }}</span>
|
||||||
<span class="date">{{ .date }}</span></div>
|
<span class="date">{{ .date }}</span>
|
||||||
|
</div>
|
||||||
<p>{{ .details | markdownify }}</p>
|
<p>{{ .details | markdownify }}</p>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue