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

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

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