From b2eafdf6494613dec54918d15ddc2a04e39424b5 Mon Sep 17 00:00:00 2001 From: NuclearRedeye Date: Thu, 13 Jun 2024 22:15:40 +0100 Subject: [PATCH] feat: initial support for awards section --- src/partials/awards.hbs | 56 +++++++++++++++++++++++++++++++++-------- src/resume.hbs | 4 +-- 2 files changed, 46 insertions(+), 14 deletions(-) diff --git a/src/partials/awards.hbs b/src/partials/awards.hbs index 3968d9d..d4d7616 100644 --- a/src/partials/awards.hbs +++ b/src/partials/awards.hbs @@ -1,19 +1,53 @@ {{#if resume.awards.length}} -
- {{> section-heading value="Awards"}} +
+ {{> section-heading icon="fa-trophy" value="Awards"}} {{#each resume.awards}} -
- {{> section-header name=this.title }} +
+
+
+
+
+ {{#if title}} +

+ {{#if url}} + {{title}} + {{else}} + {{title}} + {{/if}} +

+ {{/if}} - {{#if awarder}} -
{{awarder}}
- {{/if}} + {{#if awarder}} +
{{awarder}}
+ {{/if}} - {{#if summary}} -

{{summary}}

- {{/if}} + {{#if this.keywords.length}} +
+ {{#each this.keywords}} +
{{.}}
+ {{/each}} +
+ {{/if}} +
+ +
+ {{#if date}} +
+ + {{formatDate date}} +
+ {{/if}} +
+
+ + {{#if summary}} + {{#each (split summary) }} +

{{this}}

+ {{/each}} + {{/if}} +
{{/each}} -
+ {{/if}} \ No newline at end of file diff --git a/src/resume.hbs b/src/resume.hbs index e5fbb3e..b399b78 100644 --- a/src/resume.hbs +++ b/src/resume.hbs @@ -20,11 +20,9 @@ {{> publications }} {{> volunteer }} {{> education }} + {{> awards }} {{> references }} {{> meta }} -