diff --git a/index.js b/index.js
index d789c0e..3d977d6 100755
--- a/index.js
+++ b/index.js
@@ -205,6 +205,17 @@ function render(resumeObject) {
}
}
+ if (resumeObject.certificates && resumeObject.certificates.length) {
+ if (resumeObject.certificates[0].name) {
+ resumeObject.certificatesBool = true;
+ _.each(resumeObject.certificates, function(a){
+ a.year = (a.date || "").substr(0,4);
+ a.day = (a.date || "").substr(8,2);
+ a.month = getMonth(a.date || "");
+ });
+ }
+ }
+
if (resumeObject.publications && resumeObject.publications.length) {
if (resumeObject.publications[0].name) {
resumeObject.publicationsBool = true;
diff --git a/print.css b/print.css
index a13418f..1e88dff 100644
--- a/print.css
+++ b/print.css
@@ -18,6 +18,7 @@ a[href]:after {
blockquote,
#education,
#awards,
+#certificates,
.contact-item,
.publication,
.skills,
@@ -46,11 +47,13 @@ blockquote,
margin-bottom: -20px;
}
#awards:before,
+#certificates:before,
#education:before {
background: none;
}
#awards .description,
+#certificates .description,
#education .description,
.job .details {
border: 1px solid #eee;
diff --git a/resume.template b/resume.template
index e287a61..5f86463 100644
--- a/resume.template
+++ b/resume.template
@@ -95,7 +95,7 @@
{{#awardsBool}}
-
Awards
+
Awards
{{#awards}}
-
@@ -110,6 +110,28 @@
{{/awardsBool}}
+ {{#certificatesBool}}
+
+
+
Certificates
+
+ {{#certificates}}
+ -
+
{{month}} {{year}}
+
+
{{issuer}}
+
{{name}}
+ {{#url}}
+
+ {{/url}}
+
+
+ {{/certificates}}
+
+
+ {{/certificatesBool}}
{{#volunteerBool}}
diff --git a/style.css b/style.css
index 45c3513..9a25829 100644
--- a/style.css
+++ b/style.css
@@ -80,7 +80,8 @@ blockquote {
}
#awards,
-#education{
+#certificates,
+#education {
margin-top: 20px;
margin-bottom: 0;
position: relative;
@@ -88,6 +89,7 @@ blockquote {
list-style: none;
}
#awards:before,
+#certificates:before,
#education:before {
width: 5px;
height: 100%;
@@ -106,6 +108,7 @@ blockquote {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
}
#awards li,
+#certificates li,
#education li{
width: 100%;
z-index: 2;
@@ -113,6 +116,7 @@ blockquote {
float: left;
}
#awards .year,
+#certificates .year,
#education .year{
width: 14%;
background: #fff;
@@ -121,6 +125,7 @@ blockquote {
display: inline-block;
}
#awards .description,
+#certificates .description,
#education .description{
width: 83%;
display: inline-block;
@@ -132,6 +137,7 @@ blockquote {
border-right: 1px solid #ccc;
}
#awards .description:after,
+#certificates .description:after,
#education .description:after {
content: '';
position: absolute;
@@ -146,6 +152,7 @@ blockquote {
pointer-events: none;
}
#awards .description h3,
+#certificates .description h3,
#education .description h3{
font-size: 1.2em;
margin: 0;
@@ -153,6 +160,7 @@ blockquote {
font-weight: 700;
}
#awards .description p,
+#certificates .description p,
#education .description p{
margin-top: 5px;
padding: 0;