From 318d00ef95dbfca98821195e40ee270d80059a59 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Fri, 18 Dec 2015 12:55:30 -0500 Subject: [PATCH] Positive: Tweak. --- themes/positive/src/partials/employment.xml | 4 +- themes/positive/src/partials/recognition.xml | 2 +- themes/positive/src/partials/service.xml | 4 +- themes/positive/src/partials/writing.xml | 12 ++--- themes/positive/src/positive-html.html | 49 ++++++++++---------- 5 files changed, 34 insertions(+), 37 deletions(-) diff --git a/themes/positive/src/partials/employment.xml b/themes/positive/src/partials/employment.xml index bea16be..9204942 100644 --- a/themes/positive/src/partials/employment.xml +++ b/themes/positive/src/partials/employment.xml @@ -21,7 +21,7 @@ {{ position }}, - {{#if url}}{{/if}} + {{#if url}}{{/if}} {{#if url}} @@ -44,7 +44,7 @@ - {{{wpml summary true }}} + {{{wpml summary true}}} + {{{wpml summary true}}} + {{/if}} {{#each highlights }} diff --git a/themes/positive/src/positive-html.html b/themes/positive/src/positive-html.html index 33939af..277756a 100644 --- a/themes/positive/src/positive-html.html +++ b/themes/positive/src/positive-html.html @@ -10,18 +10,19 @@
-

{{ r.name }}

-
- {{#if r.contact.email}}{{/if}} - {{#if r.contact.phone}}
{{ r.contact.phone }}
{{/if}} - {{#if r.contact.website}}{{/if}} -
+

{{initialWords r.name }} {{lastWord r.name }}

+ {{{ r.info.label }}} +

+ {{#if r.contact.email}}{{/if}} + {{#if r.contact.phone}}{{{ r.contact.phone }}}{{/if}} + {{#if r.contact.website}}{{{ r.contact.website }}}{{/if}} +

{{#if r.info.brief}}
- {{ r.info.brief }} + {{{ r.info.brief }}}
{{/if}} @@ -29,7 +30,7 @@ {{#if r.skills}}
-

Skills


+

Skills

@@ -41,8 +42,8 @@ {{#each r.skills.sets}} - - + + {{/each}} @@ -55,7 +56,7 @@ {{#if r.employment}}
-

Employment


+

Employment

{{#each r.employment.history }} @@ -67,11 +68,11 @@ {{ employer }} {{/if}} {{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }} -

{{ summary }}

+

{{{ summary }}}

{{#if highlights}}
    {{#each highlights}} -
  • {{ this }}
  • +
  • {{{ this }}}
  • {{/each}}
{{/if}} @@ -80,11 +81,11 @@ {{#compare @index 4 operator="=="}}

Previously...

-

Prior to {{ employer }}, I worked on a range of projects for companies large and small.

+

Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.

    {{/compare}} -
  • {{ position }}, {{ employer }}
  • +
  • {{{ position }}}, {{{ employer }}}
  • {{#if @last}}
@@ -98,10 +99,10 @@ {{# if r.education}}
-

Education


+

Education

{{#each r.education.history}} -

{{ institution }} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

+

{{{ institution }}} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

{{/each}}
@@ -110,7 +111,7 @@ {{#if r.service}}
-

Service


+

Service

{{#each r.service.history}}

{{ position }}, @@ -120,7 +121,7 @@ {{ organization }} {{/if}} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

-

{{ summary }}

+

{{{ summary }}}

{{#if highlights}}
    {{#each highlights}} @@ -136,12 +137,12 @@ {{#if r.writing}}
    -

    Writing


    +

    Writing

    {{#each r.writing }}

    {{#if url}}{{ title }}{{else}}{{ title }}{{/if}}, - {{ publisher }} {{formatDate safe.date 'YYYY'}}

    - {{# if summary}}{{ summary }}{{/if}} + {{{ publisher.name }}} {{formatDate safe.date 'YYYY'}} + {{# if summary}}{{{ summary }}}{{/if}} {{/each}}
    {{/if}} @@ -149,11 +150,11 @@ {{# if r.recognition}}
    -

    Awards


    +

    Awards

    {{#each r.recognition}}

    {{ title }}, {{ from }} {{formatDate safe.date 'YYYY' }}

    - {{ summary }} + {{{ summary }}} {{/each}}
    {{/if}}
{{ name }}{{#each skills}}{{ this }} {{/each}}{{{ name }}}{{#each skills}}{{{ this }}} {{/each}}