diff --git a/partials/html/header-simple.html b/partials/html/header-simple.html new file mode 100644 index 0000000..fe8d7b0 --- /dev/null +++ b/partials/html/header-simple.html @@ -0,0 +1,3 @@ +
+

{{{sectionTitle _title _section}}}

+
diff --git a/partials/html/highlights.html b/partials/html/highlights.html new file mode 100644 index 0000000..f453c8f --- /dev/null +++ b/partials/html/highlights.html @@ -0,0 +1,7 @@ +{{#if highlights}} + +{{/if}} diff --git a/partials/html/section/education.html b/partials/html/section/education.html index b46fd1f..8883abf 100644 --- a/partials/html/section/education.html +++ b/partials/html/section/education.html @@ -1,14 +1,15 @@ {{#section "education"}}
-
-

{{{sectionTitle "Education"}}}

+ {{#> header-education }} + {{> header-simple _title="EDUCATION" _section="education" }} {{#> icon-education }}{{/icon-education}} -
+ {{/header-education}} {{#each r.education.history}}

{{{ institution }}}

{{dateRange .}} + {{> highlights }}
{{/each}}
diff --git a/partials/html/section/employment.html b/partials/html/section/employment.html index bb0f12f..b52a4c0 100644 --- a/partials/html/section/employment.html +++ b/partials/html/section/employment.html @@ -1,10 +1,11 @@ {{#section "employment"}}
-
-

{{{sectionTitle "Employment"}}}

- {{#> icon-employment }}{{/icon-employment}} -
+ {{#> header-employment }} + {{> header-simple _title="EMPLOYMENT" _section="employment" }} + {{#> icon-employment }}{{/icon-employment}} + {{/header-employment}} + {{#each r.employment.history}}

{{ position }}, @@ -18,14 +19,8 @@ {{#if keywords}} | {{#each keywords}}{{{ . }}} {{/each}} {{/if}} -

{{{ summary }}}

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

{{{ summary }}}

+ {{> highlights }}

{{/each}}
diff --git a/partials/html/section/projects.html b/partials/html/section/projects.html index 7cefc13..ae5069d 100644 --- a/partials/html/section/projects.html +++ b/partials/html/section/projects.html @@ -1,10 +1,10 @@ {{#section 'projects'}}
-
-

{{{sectionTitle "Projects"}}}

- {{#> icon-projects }}{{/icon-projects}} -
+ {{#> header-projects }} + {{> header-simple _title="PROJECTS" _section="projects" }} + {{#> icon-projects }}{{/icon-projects}} + {{/header-projects}} {{#each r.projects }}

{{#if role}}{{camelCase role }},{{/if}} @@ -19,13 +19,7 @@ {{#if start}}| {{/if}}{{#each keywords}}{{{ . }}} {{/each}} {{/if}} {{{ summary }}} - {{#if highlights}} -
    - {{#each highlights}} -
  • {{{ this }}}
  • - {{/each}} -
- {{/if}} + {{> highlights }}

{{/each}}
diff --git a/partials/html/section/recognition.html b/partials/html/section/recognition.html index dcc526c..d8f9285 100644 --- a/partials/html/section/recognition.html +++ b/partials/html/section/recognition.html @@ -1,14 +1,15 @@ {{#section "recognition"}}
-
-
-

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

- {{#> icon-recognition }}{{/icon-recognition}} -
+
+ {{#> header-recognition }} + {{> header-simple _title="RECOGNITION" _section="recognition" }} + {{#> icon-recognition }}{{/icon-recognition}} + {{/header-recognition}} {{#each r.recognition}}

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

{{ summary }} + {{> highlights }}
{{/each}}
diff --git a/partials/html/section/references.html b/partials/html/section/references.html index 080de1d..141ad59 100644 --- a/partials/html/section/references.html +++ b/partials/html/section/references.html @@ -1,10 +1,10 @@ {{#section "references"}}
-
-
-

{{{sectionTitle "references" "References"}}}

- {{#> icon-references }}{{/icon-references}} -
+
+ {{#> header-references }} + {{> header-simple _title="REFERENCES" _section="references" }} + {{#> icon-references }}{{/icon-references}} + {{/header-references}} {{#each r.references}}

{{ name }}

diff --git a/partials/html/section/samples.html b/partials/html/section/samples.html index 7407385..af79ad6 100644 --- a/partials/html/section/samples.html +++ b/partials/html/section/samples.html @@ -1,10 +1,10 @@ {{#section 'samples'}}
-
-

{{{sectionTitle "Samples"}}}

- {{#> icon-samples }}{{/icon-samples}} -
+ {{#> header-samples }} + {{> header-simple _title="SAMPLES" _section="samples" }} + {{#> icon-samples }}{{/icon-samples}} + {{/header-samples}} {{#each r.samples}}

@@ -15,13 +15,7 @@ {{/if}} {{formatDate safe.date 'YYYY-MM'}}

{{{ summary }}} - {{#if highlights}} -
    - {{#each highlights}} -
  • {{{ this }}}
  • - {{/each}} -
- {{/if}} + {{> highlights }}
{{/each}}
diff --git a/partials/html/section/service.html b/partials/html/section/service.html index a5a9b1a..eca6e14 100644 --- a/partials/html/section/service.html +++ b/partials/html/section/service.html @@ -1,10 +1,10 @@ {{#section "service"}}
-
-
-

{{{sectionTitle "Service"}}}

- {{#> icon-service }}{{/icon-service}} -
+
+ {{#> header-samples }} + {{> header-simple _title="SERVICE" _section="service" }} + {{#> icon-service }}{{/icon-service}} + {{/header-samples}} {{#each r.service.history}}

{{ position }}, @@ -16,13 +16,7 @@

{{dateRange .}}

{{{ summary }}}

- {{#if highlights}} -
    - {{#each highlights}} -
  • {{{ this }}}
  • - {{/each}} -
- {{/if}} + {{> highlights }}
{{/each}}
diff --git a/partials/html/section/skills.html b/partials/html/section/skills.html index a36a262..7d59035 100644 --- a/partials/html/section/skills.html +++ b/partials/html/section/skills.html @@ -1,10 +1,10 @@ {{#section "skills"}}
-
-

{{{sectionTitle "Skills"}}}

- {{#> icon-skills }}{{/icon-skills}} -
+ {{#> header-skills }} + {{> header-simple _title="SKILLS" _section="skills" }} + {{#> icon-skills }}{{/icon-skills}} + {{/header-skills}} diff --git a/partials/html/section/speaking.html b/partials/html/section/speaking.html index 7b31dc4..b6f7d65 100644 --- a/partials/html/section/speaking.html +++ b/partials/html/section/speaking.html @@ -1,14 +1,15 @@ {{#section "speaking"}}
-
-

{{{sectionTitle "speaking" "Speaking Engagements"}}}

- {{#> icon-speaking }}{{/icon-speaking}} -
+ {{#> header-speaking }} + {{> header-simple _title="SPEAKING" _section="speaking" }} + {{#> icon-speaking }}{{/icon-speaking}} + {{/header-speaking}} {{#each r.speaking}}

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

{{ summary }} + {{> highlights }}
{{/each}}
diff --git a/partials/html/section/testimonials.html b/partials/html/section/testimonials.html index bb41065..f53dcbe 100644 --- a/partials/html/section/testimonials.html +++ b/partials/html/section/testimonials.html @@ -1,10 +1,10 @@ {{#section "testimonials"}}
-
-
-

{{{sectionTitle "testimonials" "Testimonials"}}}

- {{#> icon-testimonials }}{{/icon-testimonials}} -
+
+ {{#> header-testimonials }} + {{> header-simple _title="TESTIMONIALS" _section="testimonials" }} + {{#> icon-testimonials }}{{/icon-testimonials}} + {{/header-testimonials}} {{#each r.testimonials}}

{{ name }}

diff --git a/partials/html/section/writing.html b/partials/html/section/writing.html index ca6095d..e7ea8ed 100644 --- a/partials/html/section/writing.html +++ b/partials/html/section/writing.html @@ -1,16 +1,17 @@ {{#section "writing"}}
-
-
-

{{{sectionTitle "Writing"}}}

- {{#> icon-writing }}{{/icon-writing}} -
+
+ {{#> header-writing }} + {{> header-simple _title="WRITING" _section="writing" }} + {{#> icon-writing }}{{/icon-writing}} + {{/header-writing}} {{#each r.writing }}

{{#if url}}{{{ title }}}{{else}}{{{ title }}}{{/if}}, {{ publisher.name }}

{{formatDate safe.date 'YYYY'}} {{{ summary }}} + {{> highlights }}
{{/each}}