diff --git a/themes/compact/src/compact-html.html b/themes/compact/src/compact-html.html new file mode 100644 index 0000000..44429be --- /dev/null +++ b/themes/compact/src/compact-html.html @@ -0,0 +1,171 @@ + + + + + {{ RAW.name }} + + {{{styleSheet "html.css"}}} + + +
+
+

{{{ r.name }}}

+
+ {{#has 'contact.email'}}{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}{{/has}} +
+
+ +{{#has "info.brief"}} +
+ {{{ r.info.brief }}} +
+{{/has}} + + +{{#section "skills"}} +
+
+

{{{sectionTitle "Skills"}}}


+
+ + + + + + + + + {{#each r.skills.sets}} + + + + + {{/each}} + +
SkillKeywords
{{ name }}{{#each skills}}{{ this }} {{/each}}
+
+{{/section}} + + + +{{#section "employment"}} +
+
+

{{{sectionTitle "Employment"}}}


+
+ + {{#each r.employment.history}} +

{{ position }}, + {{#if url }} + {{ employer }} + {{else}} + {{ employer }} + {{/if}} + {{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}

+

{{{ summary }}}

+ {{#if highlights}} + + {{/if}} + {{/each}} + +
+{{/section}} + +{{#section 'projects'}} +
+
+
+

{{{sectionTitle "Projects"}}}

+
+ {{#each r.projects}} + {{#if url}} +

{{ role }}, {{ title }}

+ {{else}} +

{{ role }}, {{ title }}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM' }}—{{formatDate safe.end 'YYYY-MM' }} + {{{ summary }}} + {{#if proj.highlights}} + + {{/if}} + {{/each}} + +
+{{/section}} + +{{#section "education"}} +
+
+

{{{sectionTitle "Education"}}}


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

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

+ {{/each}} + +
+{{/section}} + +{{#section "service"}} +
+
+

{{{sectionTitle "Service"}}}


+
+ {{#each r.service.history}} +

{{ position }}, + {{#if url}} + {{ organization }} + {{else}} + {{ organization }} + {{/if}} + {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

+

{{{ summary }}}

+ {{#if highlights}} + + {{/if}} + {{/each}} + +
+{{/section}} + +{{#section "writing"}} +
+
+

{{{sectionTitle "Writing"}}}


+
+ {{#each r.writing }} +

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

+ {{# if summary}}{{{ summary }}}{{/if}} + {{/each}} +
+{{/section}} + +{{#section "recognition"}} +
+
+

{{{sectionTitle "recognition" "Awards"}}}


+
+ {{#each r.recognition}} +

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

+ {{ summary }} + {{/each}} +
+{{/section}} + +
+ + diff --git a/themes/compact/src/compact-pdf.html b/themes/compact/src/compact-pdf.html index 46df5a9..2f98545 100644 --- a/themes/compact/src/compact-pdf.html +++ b/themes/compact/src/compact-pdf.html @@ -12,96 +12,78 @@

{{{ r.name }}}

- {{#if r.contact.email}}{{/if}} - {{#if r.contact.phone}}
{{ RAW.contact.phone }}
{{/if}} - {{#if r.contact.website}}{{/if}} + {{#has 'contact.email'}}{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}{{/has}}
- {{#has "info.brief"}} -
- {{{ r.info.brief }}} -
+
+ {{{ r.info.brief }}} +
{{/has}} {{#section "skills"}} -
-
-

{{{sectionTitle "Skills"}}}


-
- - - - - - - - - {{#each r.skills.sets}} - - - - - {{/each}} - -
SkillKeywords
{{ name }}{{#each skills}}{{ this }} {{/each}}
-
+
+
+

{{{sectionTitle "Skills"}}}


+
+ + + + + + + + + {{#each r.skills.sets}} + + + + + {{/each}} + +
SkillKeywords
{{ name }}{{#each skills}}{{ this }} {{/each}}
+
{{/section}} {{#section "employment"}} -
-
-

{{{sectionTitle "Employment"}}}


-
+
+
+

{{{sectionTitle "Employment"}}}


+
- {{#each r.employment.history}} - {{#compare @index 4 operator="<"}} -

{{ position }}, - {{#if url }} - {{ employer }} - {{else}} - {{ employer }} - {{/if}} - {{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}

-

{{{ summary }}}

- {{#if highlights}} - - {{/if}} - {{/compare}} - {{#compare @index 4 operator=">="}} - - {{#compare @index 4 operator="=="}} -

Previously...

-

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

- - {{/if}} - {{/compare}} + {{#each r.employment.history}} +

{{ position }}, + {{#if url }} + {{ employer }} + {{else}} + {{ employer }} + {{/if}} + {{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}

+

{{{ summary }}}

+ {{#if highlights}} + + {{/if}} + {{/each}} -
+
{{/section}} {{#section 'projects'}}
-

{{{sectionTitle "Projects"}}}

+

{{{sectionTitle "Projects"}}}

- {{#each r.projects}} {{#if url}}

{{ role }}, {{ title }}

@@ -123,66 +105,66 @@ {{/section}} {{#section "education"}} -
-
-

{{{sectionTitle "Education"}}}


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

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

- {{/each}} +
+
+

{{{sectionTitle "Education"}}}


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

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

+ {{/each}} -
+
{{/section}} {{#section "service"}} -
-
-

{{{sectionTitle "Service"}}}


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

{{ position }}, - {{#if url}} - {{ organization }} - {{else}} - {{ organization }} - {{/if}} - {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

-

{{{ summary }}}

- {{#if highlights}} - - {{/if}} - {{/each}} +
+
+

{{{sectionTitle "Service"}}}


+
+ {{#each r.service.history}} +

{{ position }}, + {{#if url}} + {{ organization }} + {{else}} + {{ organization }} + {{/if}} + {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

+

{{{ summary }}}

+ {{#if highlights}} +
    + {{#each highlights}} +
  • {{{ this }}}
  • + {{/each}} +
+ {{/if}} + {{/each}} -
+
{{/section}} {{#section "writing"}} -
-
-

{{{sectionTitle "Writing"}}}


-
- {{#each r.writing }} -

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

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

{{{sectionTitle "Writing"}}}


+
+ {{#each r.writing }} +

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

+ {{# if summary}}{{{ summary }}}{{/if}} + {{/each}} +
{{/section}} {{#section "recognition"}} -
-
-

{{{sectionTitle "recognition" "Awards"}}}


-
- {{#each r.recognition}} -

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

- {{ summary }} - {{/each}} -
+
+
+

{{{sectionTitle "recognition" "Awards"}}}


+
+ {{#each r.recognition}} +

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

+ {{ summary }} + {{/each}} +
{{/section}} diff --git a/themes/compact/theme.json b/themes/compact/theme.json index fd0d9bc..1fd95c4 100644 --- a/themes/compact/theme.json +++ b/themes/compact/theme.json @@ -5,7 +5,6 @@ "engine": "handlebars", "inherits": { "txt": "basis", - "md": "basis", - "html": "basis" + "md": "basis" } }