1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-05 13:27:08 +01:00

Allow user-specified section headings.

This commit is contained in:
hacksalot
2016-01-04 17:07:30 -05:00
parent 4954079a6f
commit f49df02d6a
30 changed files with 247 additions and 187 deletions

View File

@ -23,7 +23,7 @@
{{#if r.info.brief}}
<hr>
<section id="summary">
<h3>About</h3>
<h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span>
{{{ r.info.brief }}}
</section>
@ -34,7 +34,7 @@
<hr>
<section id="skills">
<header>
<h3>Skills</h3>
<h3>{{{sectionTitle "Skills"}}}</h3>
</header>
<span class="fa fa-lg fa-code"></span>
@ -68,7 +68,7 @@
<hr>
<section id="employment">
<header>
<h3>Employment</h3>
<h3>{{{sectionTitle "Employment"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.employment.history}}
@ -95,7 +95,7 @@
<hr>
<section id="education">
<header>
<h3>Education</h3>
<h3>{{{sectionTitle "Education"}}}</h3>
</header>
<span class="fa fa-lg fa-mortar-board"></span>
{{#each r.education.history}}
@ -117,7 +117,7 @@
<hr>
<section id="volunteer">
<header>
<h3>Service</h3>
<h3>{{{sectionTitle "Service"}}}</h3>
</header>
<span class="fa fa-lg fa-child"></span>
{{#each r.service.history}}
@ -144,7 +144,7 @@
<hr>
<section id="publications">
<header>
<h3>Publications</h3>
<h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header>
<span class="fa fa-lg fa-pencil"></span>
{{#each r.writing}}
@ -162,7 +162,7 @@
<hr>
<section id="awards">
<header>
<h3>Awards</h3>
<h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header>
<span class="fa fa-lg fa-trophy"></span>
{{#each r.recognition}}

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}}
@ -15,7 +15,7 @@
{{/if}}
{{#if r.employment}}
## EMPLOYMENT
## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
@ -39,7 +39,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}}
{{#if r.education}}
## EDUCATION
## {{{sectionTitle "EDUCATION"}}}
{{#each r.education.history}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -61,7 +61,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}}
{{#if r.service }}
## SERVICE
## {{{sectionTitle "SERVICE"}}}
{{#each r.service.history}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -75,7 +75,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/each}}
{{/if}}
{{#if r.recognition}}
## RECOGNITION
## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}}
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})

View File

@ -28,7 +28,7 @@
{{#if r.info.brief}}
<hr>
<section id="summary">
<h3>About</h3>
<h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span>
{{{ r.info.brief }}}
</section>
@ -39,7 +39,7 @@
<hr>
<section id="skills">
<header>
<h3>Skills</h3>
<h3>{{{sectionTitle "Skills"}}}</h3>
</header>
<span class="fa fa-lg fa-code"></span>
@ -73,7 +73,7 @@
<hr>
<section id="employment">
<header>
<h3>Employment</h3>
<h3>{{{sectionTitle "Employment"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.employment.history}}
@ -100,7 +100,7 @@
<hr>
<section id="education">
<header>
<h3>Education</h3>
<h3>{{{sectionTitle "Education"}}}</h3>
</header>
<span class="fa fa-lg fa-mortar-board"></span>
{{#each r.education.history}}
@ -122,7 +122,7 @@
<hr>
<section id="volunteer">
<header>
<h3>Service</h3>
<h3>{{{sectionTitle "Service"}}}</h3>
</header>
<span class="fa fa-lg fa-child"></span>
{{#each r.service.history}}
@ -149,7 +149,7 @@
<hr>
<section id="publications">
<header>
<h3>Publications</h3>
<h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header>
<span class="fa fa-lg fa-pencil"></span>
{{#each r.writing}}
@ -167,7 +167,7 @@
<hr>
<section id="awards">
<header>
<h3>Awards</h3>
<h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header>
<span class="fa fa-lg fa-trophy"></span>
{{#each r.recognition}}

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}}
@ -15,7 +15,7 @@ SKILLS -------------------------------------------------------------------------
{{/if}}
{{#if r.employment}}
EMPLOYMENT ---------------------------------------------------------------------
{{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
@ -39,7 +39,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}}
{{#if r.education}}
EDUCATION ----------------------------------------------------------------------
{{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{#each r.education.history}}
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -52,7 +52,7 @@ EDUCATION ----------------------------------------------------------------------
{{/each}}
{{/if}}
{{#if r.writing}}
WRITING ------------------------------------------------------------------------
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
@ -61,7 +61,7 @@ WRITING ------------------------------------------------------------------------
{{/if}}
{{#if r.service }}
SERVICE ------------------------------------------------------------------------
{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
{{#each r.service.history}}
{{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -75,7 +75,7 @@ SERVICE ------------------------------------------------------------------------
{{/each}}
{{/if}}
{{#if r.recognition}}
RECOGNITION --------------------------------------------------------------------
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})

View File

@ -16,7 +16,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>EDUCATION</w:t>
<w:t>{{{sectionTitle "EDUCATION"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -16,7 +16,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>EMPLOYMENT</w:t>
<w:t>{{{sectionTitle "EMPLOYMENT"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -36,7 +36,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>ABOUT</w:t>
<w:t>{{{sectionTitle "info" "ABOUT"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>RECOGNITION</w:t>
<w:t>{{{sectionTitle "RECOGNITION"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>SERVICE</w:t>
<w:t>{{{sectionTitle "SERVICE"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -37,7 +37,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>SKILLS</w:t>
<w:t>{{{sectionTitle "SKILLS"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>WRITING</w:t>
<w:t>{{{sectionTitle "WRITING"}}}</w:t>
</w:r>
</w:p>
</wx:pBdrGroup>