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 - id: education
translation: Education translation: Education
- id: certifications
translation: Certifications
- id: experiences - id: experiences
translation: Experiences translation: Experiences
- id: roles - id: roles

View file

@ -1,5 +1,7 @@
- id: education - id: education
translation: Études translation: Études
- id: certifications
translation: Certifications
- id: experiences - id: experiences
translation: Éxpériences professionnelles translation: Éxpériences professionnelles
- id: roles - 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" . }} {{ partial "education.html" . }}
{{ end }} {{ end }}
{{ if .Site.Params.certifications.enable }}
{{ partial "certifications.html" . }}
{{ end }}
{{ if .Site.Params.language.enable }} {{ if .Site.Params.language.enable }}
{{ partial "language.html" . }} {{ partial "language.html" . }}
{{ end }} {{ end }}

View file

@ -183,6 +183,28 @@ p {
margin-bottom: 0px; 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 { .sidebar-wrapper .languages-container .lang-desc {
color: rgba(255, 255, 255, 0.6); color: rgba(255, 255, 255, 0.6);
} }