From 6b043d8046664c86b5026f8621733b9e8303e265 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 5 Feb 2018 21:32:15 -0500 Subject: [PATCH] fix: hide location if not provided --- themes/positive/src/partials/education.hbs | 2 +- themes/positive/src/partials/employment.hbs | 4 ++-- themes/positive/src/partials/service.hbs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/positive/src/partials/education.hbs b/themes/positive/src/partials/education.hbs index fc64252..5c5b35f 100644 --- a/themes/positive/src/partials/education.hbs +++ b/themes/positive/src/partials/education.hbs @@ -9,7 +9,7 @@

{{#if title}}{{{ title }}}, {{/if}}{{{ institution }}}

{{dateRange .}} - {{location}} + {{#if location}}{{location}}{{/if}} {{{ summary }}} {{> highlights }} {{#if curriculum}}{{#each curriculum}}{{{ . }}} {{/each}}{{/if}} diff --git a/themes/positive/src/partials/employment.hbs b/themes/positive/src/partials/employment.hbs index 5f6d8d8..a75afb1 100644 --- a/themes/positive/src/partials/employment.hbs +++ b/themes/positive/src/partials/employment.hbs @@ -14,8 +14,8 @@ {{ employer }} {{/if}} - {{dateRange .}} - {{location}} + {{dateRange .}} + {{#if location}}{{location}}{{/if}}

{{{ summary }}}

{{> highlights }} {{#if keywords}}{{#each keywords}}{{{ . }}} {{/each}}{{/if}} diff --git a/themes/positive/src/partials/service.hbs b/themes/positive/src/partials/service.hbs index 727daa6..3c4b1c6 100644 --- a/themes/positive/src/partials/service.hbs +++ b/themes/positive/src/partials/service.hbs @@ -15,7 +15,7 @@ {{/if}} {{dateRange .}} - {{location}} + {{#if location}}{{location}}{{/if}}

{{{ summary }}}

{{> highlights }}