add roles section

This commit is contained in:
Cedric Girard 2019-10-03 16:36:34 +02:00
parent 542c8184fc
commit 6aa01eae70
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
4 changed files with 30 additions and 0 deletions

View file

@ -2,6 +2,8 @@
translation: Education
- id: experiences
translation: Experiences
- id: roles
translation: Consulting Projects
- id: interests
translation: Interests
- id: language

View file

@ -2,6 +2,8 @@
translation: Études
- id: experiences
translation: Éxpériences professionnelles
- id: roles
translation: Missions de consulting
- id: volunteering
translation: Éxpériences bénévoles
- id: interests

View file

@ -19,6 +19,10 @@
{{ partial "experiences.html" . }}
{{ end }}
{{ if .Site.Params.roles.enable }}
{{ partial "roles.html" . }}
{{ end }}
{{ if .Site.Params.projects.enable }}
{{ partial "projects.html" . }}
{{ end }}

View file

@ -0,0 +1,22 @@
<section class="section roles-section">
<h2 class="section-title"><span class="icon-holder"><i class="fa {{ .Site.Params.roles.icon }}"></i></span>{{ i18n "roles" }}</h2>
<div class="intro">
<p>{{ with .Site.Params.roles.intro }}{{ . | markdownify }}{{ end }}</p>
</div><!--//intro-->
{{ range .Site.Params.roles.list }}
<div class="item">
<div class="meta">
<div class="upper-row">
<h3 class="job-title">{{ .project }}</h3>
<div class="time">{{ .dates }}</div>
</div><!--//upper-row-->
<div class="company">{{ .company }}</div>
</div><!--//meta-->
<div class="details">
<p>{{ with .details }}{{ . | markdownify }}{{ end }}</p>
</div><!--//details-->
</div><!--//item-->
{{ end }}
</section><!--//section-->