mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
Continue DRYing out themes.
This commit is contained in:
parent
1bac9924e5
commit
786689c42d
6
partials/html/header-icon.html
Normal file
6
partials/html/header-icon.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<header>
|
||||||
|
{{#if _icon}}
|
||||||
|
{{> (lookup . '_hdricon') }}
|
||||||
|
{{/if}}
|
||||||
|
<h2>{{{sectionTitle _title _section}}}</h2>
|
||||||
|
</header>
|
@ -1,7 +1,7 @@
|
|||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each highlights}}
|
{{#each highlights}}
|
||||||
<li>{{{ this }}}</li>
|
<li>{{{ . }}}</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="education">
|
<section id="education">
|
||||||
{{#> header-education }}
|
{{#> header-education }}
|
||||||
{{> header-simple _title="EDUCATION" _section="education" }}
|
{{> header-icon _title="EDUCATION" _section="education" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-education }}{{/icon-education}}
|
|
||||||
{{/header-education}}
|
{{/header-education}}
|
||||||
{{#each r.education.history}}
|
{{#each r.education.history}}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="employment">
|
<section id="employment">
|
||||||
{{#> header-employment }}
|
{{#> header-employment }}
|
||||||
{{> header-simple _title="EMPLOYMENT" _section="employment" }}
|
{{> header-icon _title="EMPLOYMENT" _section="employment" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-employment }}{{/icon-employment}}
|
|
||||||
{{/header-employment}}
|
{{/header-employment}}
|
||||||
|
|
||||||
{{#each r.employment.history}}
|
{{#each r.employment.history}}
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="projects">
|
<section id="projects">
|
||||||
{{#> header-projects }}
|
{{#> header-projects }}
|
||||||
{{> header-simple _title="PROJECTS" _section="projects" }}
|
{{> header-icon _title="PROJECTS" _section="projects" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-projects }}{{/icon-projects}}
|
|
||||||
{{/header-projects}}
|
{{/header-projects}}
|
||||||
{{#each r.projects }}
|
{{#each r.projects }}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="recognition">
|
<section id="recognition">
|
||||||
{{#> header-recognition }}
|
{{#> header-recognition }}
|
||||||
{{> header-simple _title="RECOGNITION" _section="recognition" }}
|
{{> header-icon _title="RECOGNITION" _section="recognition" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-recognition }}{{/icon-recognition}}
|
|
||||||
{{/header-recognition}}
|
{{/header-recognition}}
|
||||||
{{#each r.recognition}}
|
{{#each r.recognition}}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="references">
|
<section id="references">
|
||||||
{{#> header-references }}
|
{{#> header-references }}
|
||||||
{{> header-simple _title="REFERENCES" _section="references" }}
|
{{> header-icon _title="REFERENCES" _section="references" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-references }}{{/icon-references}}
|
|
||||||
{{/header-references}}
|
{{/header-references}}
|
||||||
{{#each r.references}}
|
{{#each r.references}}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="samples">
|
<section id="samples">
|
||||||
{{#> header-samples }}
|
{{#> header-samples }}
|
||||||
{{> header-simple _title="SAMPLES" _section="samples" }}
|
{{> header-icon _title="SAMPLES" _section="samples" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-samples }}{{/icon-samples}}
|
|
||||||
{{/header-samples}}
|
{{/header-samples}}
|
||||||
{{#each r.samples}}
|
{{#each r.samples}}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="service">
|
<section id="service">
|
||||||
{{#> header-samples }}
|
{{#> header-samples }}
|
||||||
{{> header-simple _title="SERVICE" _section="service" }}
|
{{> header-icon _title="SERVICE" _section="service" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-service }}{{/icon-service}}
|
|
||||||
{{/header-samples}}
|
{{/header-samples}}
|
||||||
{{#each r.service.history}}
|
{{#each r.service.history}}
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="skills">
|
<section id="skills">
|
||||||
{{#> header-skills }}
|
{{#> header-skills }}
|
||||||
{{> header-simple _title="SKILLS" _section="skills" }}
|
{{> header-icon _title="SKILLS" _section="skills" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-skills }}{{/icon-skills}}
|
|
||||||
{{/header-skills}}
|
{{/header-skills}}
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
@ -16,7 +15,7 @@
|
|||||||
{{#each r.skills.sets}}
|
{{#each r.skills.sets}}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 25%;">{{ name }}</td>
|
<td style="width: 25%;">{{ name }}</td>
|
||||||
<td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
|
<td class="keywords">{{#each skills}}{{ . }} {{/each}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="speaking">
|
<section id="speaking">
|
||||||
{{#> header-speaking }}
|
{{#> header-speaking }}
|
||||||
{{> header-simple _title="SPEAKING" _section="speaking" }}
|
{{> header-icon _title="SPEAKING" _section="speaking" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-speaking }}{{/icon-speaking}}
|
|
||||||
{{/header-speaking}}
|
{{/header-speaking}}
|
||||||
{{#each r.speaking}}
|
{{#each r.speaking}}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
|
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
|
||||||
{{ summary }}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="testimonials">
|
<section id="testimonials">
|
||||||
{{#> header-testimonials }}
|
{{#> header-testimonials }}
|
||||||
{{> header-simple _title="TESTIMONIALS" _section="testimonials" }}
|
{{> header-icon _title="TESTIMONIALS" _section="testimonials" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-testimonials }}{{/icon-testimonials}}
|
|
||||||
{{/header-testimonials}}
|
{{/header-testimonials}}
|
||||||
{{#each r.testimonials}}
|
{{#each r.testimonials}}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{ name }}</em></h3>
|
<h3><em>{{ name }}</em></h3>
|
||||||
{{{ quote }}}
|
<p>{{{ quote }}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</section>
|
</section>
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<section id="writing">
|
<section id="writing">
|
||||||
{{#> header-writing }}
|
{{#> header-writing }}
|
||||||
{{> header-simple _title="WRITING" _section="writing" }}
|
{{> header-icon _title="WRITING" _section="writing" _hdricon=(lookup . '_icon') }}
|
||||||
{{#> icon-writing }}{{/icon-writing}}
|
|
||||||
{{/header-writing}}
|
{{/header-writing}}
|
||||||
{{#each r.writing }}
|
{{#each r.writing }}
|
||||||
<div>
|
<div>
|
||||||
|
@ -68,34 +68,34 @@
|
|||||||
-->}}
|
-->}}
|
||||||
|
|
||||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||||
{{> section/employment }}
|
{{> section/employment _icon="icon-employment"}}
|
||||||
|
|
||||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/projects }}
|
{{> section/projects _icon="icon-projects"}}
|
||||||
|
|
||||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||||
{{> section/education }}
|
{{> section/education _icon="icon-education"}}
|
||||||
|
|
||||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||||
{{> section/service }}
|
{{> section/service _icon="icon-service"}}
|
||||||
|
|
||||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||||
{{> section/samples }}
|
{{> section/samples _icon="icon-samples"}}
|
||||||
|
|
||||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||||
{{> section/writing }}
|
{{> section/writing _icon="icon-writing"}}
|
||||||
|
|
||||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||||
{{> section/recognition }}
|
{{> section/recognition _icon="icon-recognition"}}
|
||||||
|
|
||||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||||
{{> section/speaking }}
|
{{> section/speaking _icon="icon-speaking"}}
|
||||||
|
|
||||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/testimonials }}
|
{{> section/testimonials _icon="icon-testimonials"}}
|
||||||
|
|
||||||
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/references }}
|
{{> section/references _icon="icon-references"}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -35,37 +35,37 @@
|
|||||||
-->}}
|
-->}}
|
||||||
|
|
||||||
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/skills }}
|
{{> section/skills _icon="icon-skills"}}
|
||||||
|
|
||||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||||
{{> section/employment }}
|
{{> section/employment _icon="icon-employment" }}
|
||||||
|
|
||||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/projects }}
|
{{> section/projects _icon="icon-projects"}}
|
||||||
|
|
||||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||||
{{> section/education }}
|
{{> section/education _icon="icon-education"}}
|
||||||
|
|
||||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||||
{{> section/service }}
|
{{> section/service _icon="icon-service"}}
|
||||||
|
|
||||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||||
{{> section/samples }}
|
{{> section/samples _icon="icon-samples"}}
|
||||||
|
|
||||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||||
{{> section/writing }}
|
{{> section/writing _icon="icon-writing"}}
|
||||||
|
|
||||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||||
{{> section/recognition }}
|
{{> section/recognition _icon="icon-recognition"}}
|
||||||
|
|
||||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||||
{{> section/speaking }}
|
{{> section/speaking _icon="icon-speaking"}}
|
||||||
|
|
||||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/testimonials }}
|
{{> section/testimonials _icon="icon-testimonials"}}
|
||||||
|
|
||||||
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/references }}
|
{{> section/references _icon="icon-references"}}
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
@ -36,37 +36,37 @@
|
|||||||
-->}}
|
-->}}
|
||||||
|
|
||||||
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/skills }}
|
{{> section/skills _icon="icon-skills"}}
|
||||||
|
|
||||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||||
{{> section/employment }}
|
{{> section/employment _icon="icon-employment" }}
|
||||||
|
|
||||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/projects }}
|
{{> section/projects _icon="icon-projects"}}
|
||||||
|
|
||||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||||
{{> section/education }}
|
{{> section/education _icon="icon-education"}}
|
||||||
|
|
||||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||||
{{> section/service }}
|
{{> section/service _icon="icon-service"}}
|
||||||
|
|
||||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||||
{{> section/samples }}
|
{{> section/samples _icon="icon-samples"}}
|
||||||
|
|
||||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||||
{{> section/writing }}
|
{{> section/writing _icon="icon-writing"}}
|
||||||
|
|
||||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||||
{{> section/recognition }}
|
{{> section/recognition _icon="icon-recognition"}}
|
||||||
|
|
||||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||||
{{> section/speaking }}
|
{{> section/speaking _icon="icon-speaking"}}
|
||||||
|
|
||||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/testimonials }}
|
{{> section/testimonials _icon="icon-testimonials"}}
|
||||||
|
|
||||||
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/references }}
|
{{> section/references _icon="icon-references"}}
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user