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

Continue DRYing out themes.

This commit is contained in:
hacksalot
2016-01-12 10:33:19 -05:00
parent 1bac9924e5
commit 786689c42d
16 changed files with 53 additions and 58 deletions

View File

@ -0,0 +1,6 @@
<header>
{{#if _icon}}
{{> (lookup . '_hdricon') }}
{{/if}}
<h2>{{{sectionTitle _title _section}}}</h2>
</header>

View File

@ -1,7 +1,7 @@
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
<li>{{{ . }}}</li>
{{/each}}
</ul>
{{/if}}

View File

@ -2,8 +2,7 @@
<hr>
<section id="education">
{{#> header-education }}
{{> header-simple _title="EDUCATION" _section="education" }}
{{#> icon-education }}{{/icon-education}}
{{> header-icon _title="EDUCATION" _section="education" _hdricon=(lookup . '_icon') }}
{{/header-education}}
{{#each r.education.history}}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="employment">
{{#> header-employment }}
{{> header-simple _title="EMPLOYMENT" _section="employment" }}
{{#> icon-employment }}{{/icon-employment}}
{{> header-icon _title="EMPLOYMENT" _section="employment" _hdricon=(lookup . '_icon') }}
{{/header-employment}}
{{#each r.employment.history}}

View File

@ -2,8 +2,7 @@
<hr>
<section id="projects">
{{#> header-projects }}
{{> header-simple _title="PROJECTS" _section="projects" }}
{{#> icon-projects }}{{/icon-projects}}
{{> header-icon _title="PROJECTS" _section="projects" _hdricon=(lookup . '_icon') }}
{{/header-projects}}
{{#each r.projects }}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="recognition">
{{#> header-recognition }}
{{> header-simple _title="RECOGNITION" _section="recognition" }}
{{#> icon-recognition }}{{/icon-recognition}}
{{> header-icon _title="RECOGNITION" _section="recognition" _hdricon=(lookup . '_icon') }}
{{/header-recognition}}
{{#each r.recognition}}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="references">
{{#> header-references }}
{{> header-simple _title="REFERENCES" _section="references" }}
{{#> icon-references }}{{/icon-references}}
{{> header-icon _title="REFERENCES" _section="references" _hdricon=(lookup . '_icon') }}
{{/header-references}}
{{#each r.references}}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="samples">
{{#> header-samples }}
{{> header-simple _title="SAMPLES" _section="samples" }}
{{#> icon-samples }}{{/icon-samples}}
{{> header-icon _title="SAMPLES" _section="samples" _hdricon=(lookup . '_icon') }}
{{/header-samples}}
{{#each r.samples}}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="service">
{{#> header-samples }}
{{> header-simple _title="SERVICE" _section="service" }}
{{#> icon-service }}{{/icon-service}}
{{> header-icon _title="SERVICE" _section="service" _hdricon=(lookup . '_icon') }}
{{/header-samples}}
{{#each r.service.history}}
<div>

View File

@ -2,8 +2,7 @@
<hr>
<section id="skills">
{{#> header-skills }}
{{> header-simple _title="SKILLS" _section="skills" }}
{{#> icon-skills }}{{/icon-skills}}
{{> header-icon _title="SKILLS" _section="skills" _hdricon=(lookup . '_icon') }}
{{/header-skills}}
<table>
<thead>
@ -16,7 +15,7 @@
{{#each r.skills.sets}}
<tr>
<td style="width: 25%;">{{ name }}</td>
<td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
<td class="keywords">{{#each skills}}{{ . }} {{/each}}</td>
</tr>
{{/each}}
</tbody>

View File

@ -2,13 +2,12 @@
<hr>
<section id="speaking">
{{#> header-speaking }}
{{> header-simple _title="SPEAKING" _section="speaking" }}
{{#> icon-speaking }}{{/icon-speaking}}
{{> header-icon _title="SPEAKING" _section="speaking" _hdricon=(lookup . '_icon') }}
{{/header-speaking}}
{{#each r.speaking}}
<div>
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
{{ summary }}
{{{ summary }}}
{{> highlights }}
</div>
{{/each}}

View File

@ -2,13 +2,12 @@
<hr>
<section id="testimonials">
{{#> header-testimonials }}
{{> header-simple _title="TESTIMONIALS" _section="testimonials" }}
{{#> icon-testimonials }}{{/icon-testimonials}}
{{> header-icon _title="TESTIMONIALS" _section="testimonials" _hdricon=(lookup . '_icon') }}
{{/header-testimonials}}
{{#each r.testimonials}}
<div>
<h3><em>{{ name }}</em></h3>
{{{ quote }}}
<p>{{{ quote }}}</p>
</div>
{{/each}}
</section>

View File

@ -2,8 +2,7 @@
<hr>
<section id="writing">
{{#> header-writing }}
{{> header-simple _title="WRITING" _section="writing" }}
{{#> icon-writing }}{{/icon-writing}}
{{> header-icon _title="WRITING" _section="writing" _hdricon=(lookup . '_icon') }}
{{/header-writing}}
{{#each r.writing }}
<div>