From ba70f4167f21d309d75f77a0611c4f631a22c5f8 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 11 Jan 2016 11:52:52 -0500 Subject: [PATCH] Basis: HTML: Use global partials. --- themes/basis/src/html.html | 151 ++++--------------------------------- 1 file changed, 14 insertions(+), 137 deletions(-) diff --git a/themes/basis/src/html.html b/themes/basis/src/html.html index 1071453..90b1059 100644 --- a/themes/basis/src/html.html +++ b/themes/basis/src/html.html @@ -26,153 +26,30 @@ -{{#section "skills"}} -
-
-

{{{sectionTitle "Skills"}}}


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

{{{sectionTitle "Employment"}}}


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

{{ position }}, - {{#if url }} - {{ employer }} - {{else}} - {{ employer }} - {{/if}} - {{dateRange .}}

-

{{{ summary }}}

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

{{{sectionTitle "Projects"}}}

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

{{#if role}}{{camelCase role }},{{/if}} - {{#if url}} - {{ title }} - {{else}} - {{ title }} - {{/if}} - {{dateRange .}}

- {{{ summary }}} - {{#if proj.highlights}} - - {{/if}} - {{/each}} -
-{{/section}} +{{> section/service }} +{{> section/samples }} +{{> section/writing }} -{{#section "education"}} -
-
-

{{{sectionTitle "Education"}}}


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

{{{ institution }}} {{dateRange .}}

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

{{{sectionTitle "Service"}}}


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

{{ position }}, - {{#if url}} - {{ organization }} - {{else}} - {{ organization }} - {{/if}} - {{dateRange .}}

-

{{{ summary }}}

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

{{{sectionTitle "Writing"}}}


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

{{#if url}}{{{ title }}}{{else}}{{{ title }}}{{/if}}, - {{ publisher.name }} {{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}} +{{> section/speaking }}