This repository has been archived on 2024-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
portfolios_exemple3_abandon/layouts/partials/experience.html

26 lines
824 B
HTML
Raw Normal View History

2021-12-13 15:29:38 +01:00
{{ $experience := .Site.Data.experience }}
<section id="experience" class="green">
<h2 class="heading">{{ $experience.title }}</h2>
<div id="timeline">
{{ range $index, $element := $experience.experience }}
<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>