From bc77d70ed5b911a87e3a27a947727d8613a6ddc0 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Tue, 19 Jan 2016 21:58:43 -0500 Subject: [PATCH] Modern: Update PDF from HTML. --- themes/modern/src/modern-pdf.html | 138 ++++++++++++++++++------------ 1 file changed, 82 insertions(+), 56 deletions(-) diff --git a/themes/modern/src/modern-pdf.html b/themes/modern/src/modern-pdf.html index 02b2c56..7eed183 100644 --- a/themes/modern/src/modern-pdf.html +++ b/themes/modern/src/modern-pdf.html @@ -12,8 +12,8 @@ {{{ cssInfo.data }}} - -
+ +
{{!}}

{{{ r.name }}}

@@ -24,83 +24,109 @@
- -{{#if r.info.brief}} +{{#has 'info.brief'}}
+

{{{sectionTitle "info" "About"}}}

+ {{{ r.info.brief }}}
-{{/if}} +{{/has}} -{{!}} {{#section 'skills' }} -
-
-
-

{{{sectionTitle "Skills"}}}

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

{{{sectionTitle "Skills"}}}

+
+ +
    + {{#each r.skills.sets}} +
  • +
    +
    +
    +
    + {{ name }} +
    + {{#if skills}} + {{#each skills}} + {{ this }} + {{/each}} + {{/if}} +
    +
    +
  • + {{/each}} +
+
{{/section}} -{{!}} - {{#*inline "icon-employment"}}{{/inline}} -{{> section/employment }} + +{{#*inline "body-employment" }} +
+

{{ position }}, + {{#if url }} + {{ employer }} + {{else}} + {{ employer }} + {{/if}} +

+ {{dateRange .}} + {{#if keywords}} + {{#if start}}| {{/if}}{{#each keywords}}{{{ . }}} {{/each}} + {{/if}} +

{{{ summary }}}

+ {{> highlights }} +
+{{/inline}} + +{{> section/employment _icon="icon-employment"}} + + +{{#*inline "body-projects" }} +
+

{{#if role}}{{camelCase role }},{{/if}} +{{#if url}} +{{ title }} +{{else}} +{{ title }} +{{/if}} +

+{{#if start}}{{dateRange .}}{{/if}} +{{#if keywords}} +{{#if start}}| {{/if}}{{#each keywords}}{{{ . }}} {{/each}} +{{/if}} +{{{ summary }}} +{{> highlights }} +
+{{/inline}} {{#*inline "icon-projects"}}{{/inline}} -{{> section/projects }} + +{{> section/projects _icon="icon-projects"}} {{#*inline "icon-education"}}{{/inline}} -{{> section/education }} - {{#*inline "icon-service"}}{{/inline}} -{{> section/service }} - {{#*inline "icon-samples"}}{{/inline}} -{{> section/samples }} - {{#*inline "icon-writing"}}{{/inline}} -{{> section/writing }} - {{#*inline "icon-recognition"}}{{/inline}} -{{> section/recognition }} - {{#*inline "icon-speaking"}}{{/inline}} -{{> section/speaking }} - {{#*inline "icon-testimonials"}}{{/inline}} -{{> section/testimonials }} - {{#*inline "icon-references"}}{{/inline}} -{{> section/references }} + +{{> section/education _icon="icon-education"}} +{{> section/service _icon="icon-service"}} +{{> section/samples _icon="icon-samples"}} +{{> section/writing _icon="icon-writing"}} +{{> section/recognition _icon="icon-recognition"}} +{{> section/speaking _icon="icon-speaking"}} +{{> section/testimonials _icon="icon-testimonials"}} +{{> section/references _icon="icon-references"}}