1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-06-07 21:06:13 +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

@ -32,7 +32,7 @@ engine: Underscore
{% if ( r.info.brief && r.info.brief.length ) { %}
<hr>
<section id="summary">
<h3>About</h3>
<h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span>
{{ r.info.brief }}
</section>
@ -43,7 +43,7 @@ engine: Underscore
<hr>
<section id="skills">
<header>
<h3>Skills</h3>
<h3>{{{sectionTitle "Skills"}}}</h3>
</header>
<span class="fa fa-lg fa-code"></span>
@ -77,7 +77,7 @@ engine: Underscore
<hr>
<section id="employment">
<header>
<h3>Employment</h3>
<h3>{{{sectionTitle "Employment"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{% r.employment.history.forEach( function( proj, idx, ar) { %}
@ -106,7 +106,7 @@ engine: Underscore
<hr>
<section id="education">
<header>
<h3>Education</h3>
<h3>{{{sectionTitle "Education"}}}</h3>
</header>
<span class="fa fa-lg fa-mortar-board"></span>
{% r.education.history.forEach( function( edu, idx, ar) { %}
@ -128,7 +128,7 @@ engine: Underscore
<hr>
<section id="awards">
<header>
<h3>Awards</h3>
<h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header>
<span class="fa fa-lg fa-trophy"></span>
{% r.recognition.forEach( function( award, idx, ar) { %}
@ -143,7 +143,7 @@ engine: Underscore
<hr>
<section id="publications">
<header>
<h3>Publications</h3>
<h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header>
<span class="fa fa-lg fa-pencil"></span>
{% r.writing.forEach( function( pub, idx, ar) { %}
@ -158,11 +158,11 @@ engine: Underscore
</section>
{% } %}
{% if ( r.service.history && r.service.history.length ) { %}
{% if ( r.service && r.service.history && r.service.history.length ) { %}
<hr>
<section id="volunteer">
<header>
<h3>Volunteer Work</h3>
<h3>{{{sectionTitle "service" "Volunteer Work"}}}</h3>
</header>
<span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %}