Themes: Modern: Add default "governance" section.

This commit is contained in:
hacksalot 2016-01-23 00:00:26 -05:00
parent 826c1b29f1
commit 387e6ff41a
3 changed files with 60 additions and 2 deletions

View File

@ -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}}

View File

@ -37,7 +37,7 @@
{{!<!-- TODO: Optimize Google Fonts and Font Awesome access. -->}}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
{{! <!--
Link in the resume's stylesheet. We could use a <link> tag here as above,
@ -278,6 +278,34 @@ also doesn't render any content.
{{> section/education _icon="icon-education"}}
{{! <!--
Move on to the GOVERNANCE section, giving it the same treatment we gave the
EMPLOYMENT section.
--> }}
{{#*inline "body-governance" }}
<div>
<h3>{{#if role}}<em>{{{ role }}}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{{ organization }}}</a>
{{else}}
{{{ organization }}}
{{/if}}
</h3>
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}}
{{> highlights }}
</div>
{{/inline}}
{{#*inline "icon-governance"}}<span class="fa fa-lg fa-balance-scale"></span>{{/inline}}
{{> section/governance _icon="icon-governance"}}
{{! <!--
We'll override all section heading icons the same way, for the rest of the
resume, using the same inline template technique.

View File

@ -37,7 +37,7 @@
{{!<!-- TODO: Optimize Google Fonts and Font Awesome access. -->}}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
{{! <!--
Link in the resume's stylesheet. We could use a <link> tag here as above,
@ -278,6 +278,34 @@ also doesn't render any content.
{{> section/education _icon="icon-education"}}
{{! <!--
Move on to the GOVERNANCE section, giving it the same treatment we gave the
EMPLOYMENT section.
--> }}
{{#*inline "body-governance" }}
<div>
<h3>{{#if role}}<em>{{{ role }}}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{{ organization }}}</a>
{{else}}
{{{ organization }}}
{{/if}}
</h3>
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}}
{{> highlights }}
</div>
{{/inline}}
{{#*inline "icon-governance"}}<span class="fa fa-lg fa-balance-scale"></span>{{/inline}}
{{> section/governance _icon="icon-governance"}}
{{! <!--
We'll override all section heading icons the same way, for the rest of the
resume, using the same inline template technique.