From 9341e84ed51625d844658dac8798e3352ce8f4c3 Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Sat, 3 Jul 2021 14:08:04 +0200 Subject: [PATCH] feat(semantic): prioritize positions in sections --- partials/education.hbs | 6 +++--- partials/volunteer.hbs | 6 +++--- partials/work.hbs | 6 +++--- tap-snapshots/test/render.js.test.cjs | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/partials/education.hbs b/partials/education.hbs index 7b53058..63656e4 100644 --- a/partials/education.hbs +++ b/partials/education.hbs @@ -6,16 +6,16 @@
-

{{institution}}

+

{{area}}

– {{#if endDate}}{{else}}Present{{/if}}
- {{#area}} + {{#institution}} {{.}} - {{/area}} + {{/institution}} {{#url}} {{formatURL .}} {{/url}} diff --git a/partials/volunteer.hbs b/partials/volunteer.hbs index b437a57..28c86cc 100644 --- a/partials/volunteer.hbs +++ b/partials/volunteer.hbs @@ -6,16 +6,16 @@
-

{{organization}}

+

{{position}}

– {{#if endDate}}{{else}}Present{{/if}}
- {{#position}} + {{#organization}} {{.}} - {{/position}} + {{/organization}} {{#url}} {{formatURL .}} {{/url}} diff --git a/partials/work.hbs b/partials/work.hbs index 1706813..0de7673 100644 --- a/partials/work.hbs +++ b/partials/work.hbs @@ -6,16 +6,16 @@
-

{{name}}

+

{{position}}

– {{#if endDate}}{{else}}Present{{/if}}
- {{#position}} + {{#name}} {{.}} - {{/position}} + {{/name}} {{#url}} {{formatURL .}} {{/url}} diff --git a/tap-snapshots/test/render.js.test.cjs b/tap-snapshots/test/render.js.test.cjs index 9e53f64..e789129 100644 --- a/tap-snapshots/test/render.js.test.cjs +++ b/tap-snapshots/test/render.js.test.cjs @@ -315,14 +315,14 @@ blockquote > * + * {
-

Pied Piper

+

CEO/President

- CEO/President + Pied Piper piedpiper.example.com
@@ -341,14 +341,14 @@ blockquote > * + * {
-

CoderDojo

+

Teacher

- Teacher + CoderDojo coderdojo.example.com
@@ -365,14 +365,14 @@ blockquote > * + * {
-

University of Oklahoma

+

Information Technology

- Information Technology + University of Oklahoma www.ou.edu