From b7b2afe568e9945e461b0067d32cfd2c673e1581 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sun, 10 Jan 2016 23:30:35 -0500 Subject: [PATCH] Modern: Refactor to use global partials. --- partials/html/sections/education.html | 7 +- partials/html/sections/employment.html | 7 +- partials/html/sections/projects.html | 1 + partials/html/sections/recognition.html | 4 +- partials/html/sections/samples.html | 26 ++++ partials/html/sections/service.html | 7 +- partials/html/sections/skills.html | 4 +- partials/html/sections/speaking.html | 13 ++ partials/html/sections/writing.html | 4 +- themes/modern/src/modern-html.css | 4 +- themes/modern/src/modern-html.html | 176 +++--------------------- 11 files changed, 84 insertions(+), 169 deletions(-) create mode 100644 partials/html/sections/samples.html create mode 100644 partials/html/sections/speaking.html diff --git a/partials/html/sections/education.html b/partials/html/sections/education.html index 89fc82a..69daaec 100644 --- a/partials/html/sections/education.html +++ b/partials/html/sections/education.html @@ -1,10 +1,13 @@ {{#section "education"}} +
-

{{{sectionTitle "Education"}}}


+

{{{sectionTitle "Education"}}}

+ {{#> icon-education }}{{/icon-education}} {{#each r.education.history}} -

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

+

{{{ institution }}}

+ {{dateRange .}} {{/each}}
{{/section}} diff --git a/partials/html/sections/employment.html b/partials/html/sections/employment.html index f9eadb8..30c2d51 100644 --- a/partials/html/sections/employment.html +++ b/partials/html/sections/employment.html @@ -1,8 +1,10 @@ {{#section "employment"}} +
-

{{{sectionTitle "Employment"}}}


+

{{{sectionTitle "Employment"}}}

+ {{#> icon-employment }}{{/icon-employment}} {{#each r.employment.history}}

{{ position }}, {{#if url }} @@ -10,7 +12,8 @@ {{else}} {{ employer }} {{/if}} - {{dateRange .}}

+ + {{dateRange .}}

{{{ summary }}}

{{#if highlights}}