mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-02 20:07:07 +01:00
Modern: Refactor to use global partials.
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
{{#section "education"}}
|
||||
<hr>
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Education"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "Education"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-education }}{{/icon-education}}
|
||||
{{#each r.education.history}}
|
||||
<h3>{{{ institution }}} <span class="tenure">{{dateRange .}}<span></h3>
|
||||
<h3>{{{ institution }}}</h3>
|
||||
<span class="tenure">{{dateRange .}}<span>
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/section}}
|
||||
|
@ -1,8 +1,10 @@
|
||||
{{#section "employment"}}
|
||||
<hr>
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Employment"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "Employment"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-employment }}{{/icon-employment}}
|
||||
{{#each r.employment.history}}
|
||||
<h3><em>{{ position }}</em>,
|
||||
{{#if url }}
|
||||
@ -10,7 +12,8 @@
|
||||
{{else}}
|
||||
{{ employer }}
|
||||
{{/if}}
|
||||
<span class="tenure">{{dateRange .}}<span></h3>
|
||||
</h3>
|
||||
<span class="tenure">{{dateRange .}}</span>
|
||||
<p style="clear: both;">{{{ summary }}}</p>
|
||||
{{#if highlights}}
|
||||
<ul>
|
||||
|
@ -4,6 +4,7 @@
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Projects"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-projects }}{{/icon-projects}}
|
||||
{{#each r.projects}}
|
||||
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
|
||||
{{#if url}}
|
||||
|
@ -1,8 +1,10 @@
|
||||
{{#section "recognition"}}
|
||||
<hr>
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "recognition" "Awards"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "recognition" "Awards"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-recognition }}{{/icon-recognition}}
|
||||
{{#each r.recognition}}
|
||||
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
|
||||
{{ summary }}
|
||||
|
26
partials/html/sections/samples.html
Normal file
26
partials/html/sections/samples.html
Normal file
@ -0,0 +1,26 @@
|
||||
{{#section 'samples'}}
|
||||
<hr>
|
||||
<section id="samples">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Samples"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-samples }}{{/icon-samples}}
|
||||
{{#each r.samples}}
|
||||
<h3>
|
||||
{{#if url}}
|
||||
<a href="{{{ url }}}">{{ title }}</a>
|
||||
{{else}}
|
||||
{{ title }}
|
||||
{{/if}}
|
||||
<span class="tenure">{{formatDate date 'YYYY-MM'}}</span></h3>
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
<ul>
|
||||
{{#each highlights}}
|
||||
<li>{{{ this }}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/section}}
|
@ -1,8 +1,10 @@
|
||||
{{#section "service"}}
|
||||
<hr>
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Service"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "Service"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-service }}{{/icon-service}}
|
||||
{{#each r.service.history}}
|
||||
<h3><em>{{ position }}</em>,
|
||||
{{#if url}}
|
||||
@ -10,7 +12,8 @@
|
||||
{{else}}
|
||||
{{ organization }}
|
||||
{{/if}}
|
||||
<span class="tenure">{{dateRange .}}<span></h3>
|
||||
</h3>
|
||||
<span class="tenure">{{dateRange .}}<span>
|
||||
<p style="clear: both;">{{{ summary }}}</p>
|
||||
{{#if highlights}}
|
||||
<ul>
|
||||
|
@ -1,8 +1,10 @@
|
||||
{{#section "skills"}}
|
||||
<hr>
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Skills"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "Skills"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-skills }}{{/icon-skills}}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
13
partials/html/sections/speaking.html
Normal file
13
partials/html/sections/speaking.html
Normal file
@ -0,0 +1,13 @@
|
||||
{{#section "speaking"}}
|
||||
<hr>
|
||||
<section id="speaking">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "speaking" "Speaking Engagements"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-speaking }}{{/icon-speaking}}
|
||||
{{#each r.speaking}}
|
||||
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
|
||||
{{ summary }}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/section}}
|
@ -1,8 +1,10 @@
|
||||
{{#section "writing"}}
|
||||
<hr>
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2>{{{sectionTitle "Writing"}}}</h2><hr>
|
||||
<h2>{{{sectionTitle "Writing"}}}</h2>
|
||||
</header>
|
||||
{{#> icon-writing }}{{/icon-writing}}
|
||||
{{#each r.writing }}
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||
{{ publisher.name }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
|
||||
|
Reference in New Issue
Block a user