From ad8ebe208ece462cdf6190f075765f9eb7542ff9 Mon Sep 17 00:00:00 2001 From: joe miller Date: Fri, 22 Sep 2017 07:45:09 -0700 Subject: [PATCH] add support for affiliation section --- src/partials/affiliation.html | 17 +++++++++++++++++ src/partials/body.html | 1 + 2 files changed, 18 insertions(+) create mode 100644 src/partials/affiliation.html diff --git a/src/partials/affiliation.html b/src/partials/affiliation.html new file mode 100644 index 0000000..b016b3f --- /dev/null +++ b/src/partials/affiliation.html @@ -0,0 +1,17 @@ +{{#section 'affiliation'}} +
+
+

 {{{sectionTitle "Affiliation"}}}

+
+ {{#each r.affiliation.history}} + {{#if url}} +

{{role}}, {{organization}}

+ {{else}} +

{{role}}, {{organization}}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{formatDate safe.end 'YYYY-MM'}} + {{{summary}}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/body.html b/src/partials/body.html index cc2f1c5..a9b4506 100644 --- a/src/partials/body.html +++ b/src/partials/body.html @@ -5,6 +5,7 @@ {{> employment}} {{> projects}} {{> samples}} + {{> affiliation}} {{> education}} {{> service}} {{> writing}}