1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-13 08:57:10 +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

@ -35,7 +35,7 @@
<table>
<thead>
<tr>
<th>Skill</th>
<th>{{{sectionTitle "Skills"}}}</th>
<th>Keywords</th>
</tr>
</thead>
@ -56,7 +56,7 @@
{{#if r.employment}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
</header>
{{#each r.employment.history }}
@ -99,7 +99,7 @@
{{# if r.education}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> Education</h2>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
</header>
{{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
@ -111,7 +111,7 @@
{{#if r.service}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
</header>
{{#each r.service.history}}
<h3><em>{{{ position }}}</em>,
@ -137,7 +137,7 @@
{{#if r.writing}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> Writing</h2>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
</header>
{{#each r.writing }}
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
@ -150,7 +150,7 @@
{{# if r.recognition}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> Awards</h2>
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
</header>
{{#each r.recognition}}
<h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>