Start using {{hasSection}} helper.

This commit is contained in:
hacksalot 2016-01-05 00:24:07 -05:00
parent cf1360bc77
commit f06f97d364
18 changed files with 213 additions and 165 deletions

View File

@ -513,9 +513,9 @@
</w:r>
</w:p> -->
{{{wpml RAW.info.brief }}}
{{> skills }}
{{> employment }}
{{> education }}
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
{{#hasSection "education"}}{{> education }}{{/hasSection}}
<w:sectPr wsp:rsidR="00B43FDC" wsp:rsidRPr="000A3AF0" wsp:rsidSect="001B7422">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>

View File

@ -18,14 +18,14 @@
</header>
{{#if r.info.brief}}
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/if}}
{{/has}}
{{#if r.skills}}
{{#hasSection "skills"}}
<section id="skills">
<header>
<h2><span class="fa fa-code"></span> {{{sectionTitle "Skills"}}}</h2><hr>
@ -47,11 +47,11 @@
</tbody>
</table>
</section>
{{/if}}
{{/hasSection}}
{{#if r.employment}}
{{#hasSection "employment"}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2><hr>
@ -92,9 +92,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.education}}
{{#hasSection "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
@ -104,9 +104,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
{{#hasSection "service"}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2><hr>
@ -130,9 +130,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.writing}}
{{#hasSection "writing"}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2><hr>
@ -143,9 +143,9 @@
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.recognition}}
{{#hasSection "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
@ -155,7 +155,7 @@
{{ summary }}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
</main>
</body>

View File

@ -7,7 +7,7 @@
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{{#if r.skills}}
## SKILLS
## {{{sectionTitle "SKILLS"}}}
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
@ -18,7 +18,6 @@
## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
### {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
@ -26,15 +25,6 @@
- {{{ this }}}
{{/each}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
### Previously...
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
{{/compare}}
- {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/if}}

View File

@ -19,14 +19,14 @@
</header>
{{#if r.info.brief}}
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/if}}
{{/has}}
{{#if r.skills}}
{{#hasSection "skills"}}
<section id="skills">
<header>
<h2><span class="fa fa-code"></span> {{{sectionTitle "Skills"}}}</h2><hr>
@ -48,11 +48,11 @@
</tbody>
</table>
</section>
{{/if}}
{{/hasSection}}
{{#if r.employment}}
{{#hasSection "employment"}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2><hr>
@ -93,9 +93,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.education}}
{{#hasSection "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
@ -105,9 +105,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
{{#hasSection "service"}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2><hr>
@ -131,9 +131,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.writing}}
{{#hasSection "writing"}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2><hr>
@ -144,9 +144,9 @@
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.recognition}}
{{#hasSection "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
@ -156,7 +156,7 @@
{{ summary }}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
</main>
</body>

View File

@ -1,9 +1,3 @@
{{!
compact/txt.txt
A plain text resume template for FluentCV's "compact" theme.
}}
{{ r.name }}
{{#if r.contact.email }}Email: {{{ r.contact.email }}}{{/if}}
{{#if r.contact.phone }}Tel: {{{ r.contact.phone }}}{{/if}}
@ -12,40 +6,46 @@
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{{#if r.skills}}
SKILLS -------------------------------------------------------------------------
{{#hasSection "skills"}}
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
{{/each}}
{{/if}}
{{/hasSection}}
{{#if r.employment}}
EMPLOYMENT ---------------------------------------------------------------------
{{#hasSection "employment"}}
{{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
{{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
Previously...
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
{{/compare}}
- {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/hasSection}}
{{#hasSection 'projects'}}
{{{sectionTitle "PROJECTS"}}} -----------------------------------------------------------------------
{{#each r.projects }}
{{{ title }}}, {{{ role }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ description }}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/hasSection}}
{{#if r.education}}
EDUCATION ----------------------------------------------------------------------
{{#hasSection "education"}}
{{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{#each r.education.history}}
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -54,37 +54,41 @@ EDUCATION ----------------------------------------------------------------------
{{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
- {{{ this }}}
{{/each}}
{{/if}}
{{#if r.writing}}
WRITING ------------------------------------------------------------------------
{{/each}}
{{/hasSection}}
{{#hasSection "writing"}}
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{/hasSection}}
{{#if r.service }}
SERVICE ------------------------------------------------------------------------
{{#hasSection "service" }}
{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
{{#each r.service.history}}
{{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/hasSection}}
{{/each}}
{{/if}}
{{#if r.recognition}}
RECOGNITION --------------------------------------------------------------------
{{#hasSection "recognition"}}
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{/hasSection}}

View File

@ -33,6 +33,14 @@
- {{ course }}
{% }); } }); } %}
{% if ( r.projects && r.projects.length ) { %}{% print(h.sectionTitle('PROJECTS')) %}
{% r.projects.forEach( function( proj, idx, ar) { %}
{{ proj.title }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }})
{{ proj.summary }}
{% if( edu.courses ) { %}{% proj.highlights.forEach( function( course ) { %}
- {{ course }}
{% }); } }); } %}
{% if ( r.service && r.service.history ) { %}{% print(h.sectionTitle('service', 'VOLUNTEER')) %}
{% r.service.history.forEach( function( srv, idx, ar) { %}
{{ srv.organization }} ({{ srv.safe.start.format('YYYY-MM') }} — {{ srv.safe.end.format('YYYY-MM') }})

View File

@ -485,13 +485,13 @@
</w:r>
</w:hlink>
</w:p>
{{> info }}
{{> skills }}
{{> employment }}
{{> education }}
{{> service }}
{{> writing }}
{{> recognition }}
{{#hasSection "info"}}{{> info }}{{/hasSection}}
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
{{#hasSection "education"}}{{> education }}{{/hasSection}}
{{#hasSection "service"}}{{> service }}{{/hasSection}}
{{#hasSection "writing"}}{{> writing }}{{/hasSection}}
{{#hasSection "recognition"}}{{> recognition }}{{/hasSection}}
<w:sectPr wsp:rsidR="00B43FDC" wsp:rsidRPr="000A3AF0" wsp:rsidSect="001B7422">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>

View File

@ -91,7 +91,34 @@
</section>
{{/if}}
{{# if r.education}}
{{#hasSection 'projects'}}
<hr>
<section id="projects">
<header>
<h3>{{{sectionTitle "Projects"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.projects}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/hasSection}}
{{#hasSection 'education'}}
<hr>
<section id="education">
<header>
@ -111,7 +138,7 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
<hr>

View File

@ -18,7 +18,6 @@
## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
### {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
@ -26,15 +25,6 @@
- {{{ this }}}
{{/each}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
### Previously...
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
{{/compare}}
- {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/if}}

View File

@ -96,7 +96,34 @@
</section>
{{/if}}
{{# if r.education}}
{{#hasSection 'projects'}}
<hr>
<section id="projects">
<header>
<h3>{{{sectionTitle "Projects"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.projects}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/hasSection}}
{{#hasSection 'education'}}
<hr>
<section id="education">
<header>
@ -116,7 +143,7 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
<hr>

View File

@ -6,39 +6,45 @@
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{{#if r.skills}}
{{#hasSection "skills"}}
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
{{/each}}
{{/if}}
{{/hasSection}}
{{#if r.employment}}
{{#hasSection "employment"}}
{{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
{{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
Previously...
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
{{/compare}}
- {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/hasSection}}
{{#hasSection 'projects'}}
{{{sectionTitle "PROJECTS"}}} -----------------------------------------------------------------------
{{#each r.projects }}
{{{ title }}}, {{{ role }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ description }}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/hasSection}}
{{#if r.education}}
{{#hasSection "education"}}
{{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{#each r.education.history}}
@ -48,19 +54,23 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
- {{{ this }}}
{{/each}}
{{/if}}
{{#if r.writing}}
{{/each}}
{{/hasSection}}
{{#hasSection "writing"}}
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{/hasSection}}
{{#if r.service }}
{{#hasSection "service" }}
{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
{{#each r.service.history}}
@ -68,17 +78,17 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/hasSection}}
{{/each}}
{{/if}}
{{#if r.recognition}}
{{#hasSection "recognition"}}
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{/hasSection}}

View File

@ -1,4 +1,3 @@
{{#if r.recognition}}
<wx:sub-section>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
<w:pPr>
@ -70,4 +69,3 @@
{{/each}}
</wx:sub-section>
{{/if}}

View File

@ -1,4 +1,3 @@
{{#if r.service }}
<wx:sub-section>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
<w:pPr>
@ -83,4 +82,3 @@
{{/each}}
</wx:sub-section>
{{/if}}

View File

@ -1,4 +1,3 @@
{{#if r.skills }}
<wx:sub-section>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
<w:pPr>
@ -59,5 +58,4 @@
{{/each}}
</w:tbl>
{{/if}}
</wx:sub-section>

View File

@ -1,4 +1,3 @@
{{#if r.writing}}
<wx:sub-section>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
<w:pPr>
@ -75,4 +74,3 @@
{{/each}}
</wx:sub-section>
{{/if}}

View File

@ -526,12 +526,12 @@
<w:t>{{ r.info.brief }}</w:t>
</w:r> -->
</w:p>
{{> skills }}
{{> employment }}
{{> education }}
{{> service }}
{{> writing }}
{{> recognition }}
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
{{#hasSection "education"}}{{> education }}{{/hasSection}}
{{#hasSection "service"}}{{> service }}{{/hasSection}}
{{#hasSection "writing"}}{{> writing }}{{/hasSection}}
{{#hasSection "recognition"}}{{> recognition }}{{/hasSection}}
<w:sectPr wsp:rsidR="00B43FDC" wsp:rsidRPr="000A3AF0" wsp:rsidSect="001B7422">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>

View File

@ -20,14 +20,14 @@
</header>
{{#if r.info.brief}}
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/if}}
{{/has}}
{{#if r.skills}}
{{#hasSection "skills"}}
<section id="skills">
<header>
<h2><span class="fa fa-code"></span> Skills</h2>
@ -49,11 +49,11 @@
</tbody>
</table>
</section>
{{/if}}
{{/hasSection}}
{{#if r.employment}}
{{#hasSection "employment"}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
@ -94,9 +94,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.education}}
{{#hasSection "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
@ -106,9 +106,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
{{#hasSection "service"}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
@ -132,9 +132,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.writing}}
{{#hasSection "writing"}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
@ -145,9 +145,9 @@
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.recognition}}
{{#hasSection "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
@ -157,7 +157,7 @@
{{{ summary }}}
{{/each}}
</section>
{{/if}}
{{/has}}
</main>
</body>

View File

@ -21,14 +21,14 @@
</header>
{{#if r.info.brief}}
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/if}}
{{/has}}
{{#if r.skills}}
{{#hasSection "skills"}}
<section id="skills">
<header>
<h2><span class="fa fa-code"></span> Skills</h2>
@ -50,11 +50,11 @@
</tbody>
</table>
</section>
{{/if}}
{{/hasSection}}
{{#if r.employment}}
{{#hasSection "employment"}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
@ -95,9 +95,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.education}}
{{#hasSection "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
@ -107,9 +107,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.service}}
{{#hasSection "service"}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
@ -133,9 +133,9 @@
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{#if r.writing}}
{{#hasSection "writing"}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
@ -146,9 +146,9 @@
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/if}}
{{/hasSection}}
{{# if r.recognition}}
{{#hasSection "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
@ -158,7 +158,7 @@
{{{ summary }}}
{{/each}}
</section>
{{/if}}
{{/has}}
</main>
</body>