diff --git a/i18n/en.yaml b/i18n/en.yaml index a90e454..8251eaf 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,5 +1,7 @@ - id: education translation: Education +- id: certifications + translation: Certifications - id: experiences translation: Experiences - id: roles diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 469dc4a..57a5771 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,5 +1,7 @@ - id: education translation: Études +- id: certifications + translation: Certifications - id: experiences translation: Éxpériences professionnelles - id: roles diff --git a/layouts/partials/certifications.html b/layouts/partials/certifications.html new file mode 100644 index 0000000..19f18fd --- /dev/null +++ b/layouts/partials/certifications.html @@ -0,0 +1,10 @@ +
+

{{ i18n "certifications" }}

+ {{ range .Site.Params.certifications.list }} +
+

{{ .certificate }}

+
{{ .editor }}
+
{{ .dates }}
+
+ {{ end }} +
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 22499e8..b19e3b4 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -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 }} diff --git a/static/assets/css/orbit-1.css b/static/assets/css/orbit-1.css index 501580e..51b22a5 100644 --- a/static/assets/css/orbit-1.css +++ b/static/assets/css/orbit-1.css @@ -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); }