add volunteering section

This commit is contained in:
Cedric Girard 2019-08-23 15:25:50 +02:00
parent 225b2d9c9f
commit 333a96ce36
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 24 additions and 0 deletions

View file

@ -27,6 +27,11 @@
{{ partial "skills.html" . }}
{{ end }}
{{ if .Site.Params.volunteering.enable }}
{{ partial "volunteering.html" . }}
{{ end }}
</div><!--//main-wrapper-->
</div>

View file

@ -0,0 +1,19 @@
<section class="section experiences-section">
<h2 class="section-title"><span class="icon-holder"><i class="fa {{ .Site.Params.volunteering.icon }}"></i></span>{{ i18n "volunteering" }}</h2>
{{ range .Site.Params.volunteering.list }}
<div class="item">
<div class="meta">
<div class="upper-row">
<h3 class="job-title">{{ .position }}</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-->