add certifications section

This commit is contained in:
Cedric Girard 2019-10-03 16:51:02 +02:00
parent 6aa01eae70
commit b3e30a9306
Signed by: X-dark
GPG Key ID: E7D0E125DB9519E4
5 changed files with 40 additions and 0 deletions

View File

@ -1,5 +1,7 @@
- id: education
translation: Education
- id: certifications
translation: Certifications
- id: experiences
translation: Experiences
- id: roles

View File

@ -1,5 +1,7 @@
- id: education
translation: Études
- id: certifications
translation: Certifications
- id: experiences
translation: Éxpériences professionnelles
- id: roles

View File

@ -0,0 +1,10 @@
<div class="certifications-container container-block">
<h2 class="container-block-title">{{ i18n "certifications" }}</h2>
{{ range .Site.Params.certifications.list }}
<div class="item">
<h4 class="degree">{{ .certificate }}</h4>
<h5 class="meta">{{ .editor }}</h5>
<div class="time">{{ .dates }}</div>
</div><!--//item-->
{{ end }}
</div><!--//certifications-container-->

View File

@ -14,6 +14,10 @@
{{ partial "education.html" . }}
{{ end }}
{{ if .Site.Params.certifications.enable }}
{{ partial "certifications.html" . }}
{{ end }}
{{ if .Site.Params.language.enable }}
{{ partial "language.html" . }}
{{ end }}

View File

@ -183,6 +183,28 @@ p {
margin-bottom: 0px;
}
.sidebar-wrapper .certifications-container .item {
margin-bottom: 15px;
}
.sidebar-wrapper .certifications-container .item:last-child {
margin-bottom: 0;
}
.sidebar-wrapper .certifications-container .meta {
color: rgba(255, 255, 255, 0.6);
font-weight: 500;
margin-bottom: 0px;
margin-top: 0;
font-size: 14px;
}
.sidebar-wrapper .certifications-container .time {
color: rgba(255, 255, 255, 0.6);
font-weight: 500;
margin-bottom: 0px;
}
.sidebar-wrapper .languages-container .lang-desc {
color: rgba(255, 255, 255, 0.6);
}