add roles section
This commit is contained in:
parent
542c8184fc
commit
6aa01eae70
4 changed files with 30 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
translation: Education
|
||||
- id: experiences
|
||||
translation: Experiences
|
||||
- id: roles
|
||||
translation: Consulting Projects
|
||||
- id: interests
|
||||
translation: Interests
|
||||
- id: language
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
22
layouts/partials/roles.html
Normal file
22
layouts/partials/roles.html
Normal 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-->
|
Loading…
Reference in a new issue