-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexperience.html
More file actions
25 lines (23 loc) · 867 Bytes
/
experience.html
File metadata and controls
25 lines (23 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{ $experience := .Site.Data.experience }}
<section id="experience" class="green">
<h2 class="heading">{{ $experience.title }}</h2>
<div id="timeline">
{{ range $index, $element := sort $experience.experience "order" "asc" }}
<div class="timeline-item clearfix">
<div class="timeline-icon"></div>
<div class="timeline-content {{ if eq (mod $index 2) 0 }} right {{ end }}">
<span class="date">{{ $element.timeperiod }}</span>
<h6 class="h3 my-2">{{ $element.company }}</h6>
{{ $website := $element.website }}
{{ if $website }}
<a target="_blank" href="{{ $website }}">
<i class="fas fa-link"></i>
{{ $website }}
</a>
{{ end }}
<p class="">{{ $element.description }}</p>
</div>
</div>
{{ end }}
</div>
</section>