From 387e6ff41a3df405bb9d8d7856dff5af5951718c Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sat, 23 Jan 2016 00:00:26 -0500 Subject: [PATCH] Themes: Modern: Add default "governance" section. --- themes/modern/src/modern-doc.xml | 2 ++ themes/modern/src/modern-html.html | 30 +++++++++++++++++++++++++++++- themes/modern/src/modern-pdf.html | 30 +++++++++++++++++++++++++++++- 3 files changed, 60 insertions(+), 2 deletions(-) diff --git a/themes/modern/src/modern-doc.xml b/themes/modern/src/modern-doc.xml index 7d88c51..5134d36 100644 --- a/themes/modern/src/modern-doc.xml +++ b/themes/modern/src/modern-doc.xml @@ -197,6 +197,7 @@ -->}} {{#*inline "header-projects"}}{{> header-icon _title="PROJECTS" _section="projects" _icon="pict/star" }}{{/inline}} + {{#*inline "header-governance"}}{{> header-icon _title="GOVERNANCE" _section="governance" _icon="pict/star" }}{{/inline}} {{#*inline "header-education"}}{{> header-icon _title="EDUCATION" _section="education" _icon="pict/edu" }}{{/inline}} {{#*inline "header-service"}}{{> header-icon _title="SERVICE" _section="service" _icon="pict/srv" }}{{/inline}} {{#*inline "header-writing"}}{{> header-icon _title="WRITING" _section="writing" _icon="pict/wri" }}{{/inline}} @@ -221,6 +222,7 @@ {{#section "employment"}}{{> section/employment }}{{/section}} {{#section "projects"}}{{> section/projects }}{{/section}} + {{#section "projects"}}{{> section/governance }}{{/section}} {{#section "education"}}{{> section/education }}{{/section}} {{#section "service"}}{{> section/service }}{{/section}} {{#section "writing"}}{{> section/writing }}{{/section}} diff --git a/themes/modern/src/modern-html.html b/themes/modern/src/modern-html.html index 1f3c915..d5efab7 100644 --- a/themes/modern/src/modern-html.html +++ b/themes/modern/src/modern-html.html @@ -37,7 +37,7 @@ {{!}} - + {{! }} + +{{#*inline "body-governance" }} +
+

{{#if role}}{{{ role }}},{{/if}} +{{#if url}} +{{{ organization }}} +{{else}} +{{{ organization }}} +{{/if}} +

+{{#if start}}{{dateRange .}}{{/if}} +{{#if keywords}} +{{#if start}}| {{/if}}{{#each keywords}}{{{ . }}} {{/each}} +{{/if}} +{{{ summary }}} +{{> highlights }} +
+{{/inline}} + +{{#*inline "icon-governance"}}{{/inline}} + +{{> section/governance _icon="icon-governance"}} + + {{! }} - + {{! }} + +{{#*inline "body-governance" }} +
+

{{#if role}}{{{ role }}},{{/if}} +{{#if url}} +{{{ organization }}} +{{else}} +{{{ organization }}} +{{/if}} +

+{{#if start}}{{dateRange .}}{{/if}} +{{#if keywords}} +{{#if start}}| {{/if}}{{#each keywords}}{{{ . }}} {{/each}} +{{/if}} +{{{ summary }}} +{{> highlights }} +
+{{/inline}} + +{{#*inline "icon-governance"}}{{/inline}} + +{{> section/governance _icon="icon-governance"}} + + {{!