From 3de17aa3e10a14a73d4782525e1d90ff0f6904b2 Mon Sep 17 00:00:00 2001 From: Antonio Ruberto Date: Sat, 15 Oct 2016 21:33:39 -0400 Subject: [PATCH] Add speaking section --- package.json | 2 +- src/partials/body.html | 1 + src/partials/speaking.html | 17 +++++++++++++++++ test/resume.json | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 src/partials/speaking.html diff --git a/package.json b/package.json index cb6a24f..529bda9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fresh-theme-bootstrap", - "version": "0.2.1", + "version": "0.3.0", "description": "Responsive resume theme using Bootstrap and Bootswatch.", "repository": "https://github.com/aruberto/fresh-theme-bootstrap/test", "keywords": [ diff --git a/src/partials/body.html b/src/partials/body.html index 783eb73..cc2f1c5 100644 --- a/src/partials/body.html +++ b/src/partials/body.html @@ -8,6 +8,7 @@ {{> education}} {{> service}} {{> writing}} + {{> speaking}} {{> recognition}} {{> interests}} diff --git a/src/partials/speaking.html b/src/partials/speaking.html new file mode 100644 index 0000000..4f4b1ef --- /dev/null +++ b/src/partials/speaking.html @@ -0,0 +1,17 @@ +{{#section 'speaking'}} +
+
+

 {{{sectionTitle "speaking" "Speaking"}}}

+
+ {{#each r.speaking}} + {{#if url}} +

{{title}}, {{event}}

+ {{else}} +

{{title}}, {{event}}

+ {{/if}} + Presented on: {{formatDate safe.date 'YYYY-MM-DD'}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/test/resume.json b/test/resume.json index 3188e09..bf817ab 100644 --- a/test/resume.json +++ b/test/resume.json @@ -410,7 +410,7 @@ "role": "Speaker", "event": "OPENSTART 2013 Developer's Conference", "location": "Portland, OR", - "date": "2012", + "date": "2012-01-02", "highlights": [ "Won 'Best Presentation on an Emerging Technical Field' prize." ]