mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 16:20:11 +00:00
Compact: Collapse jobs > 4 and use safe dates.
This commit is contained in:
parent
9c3d950af6
commit
ecb085ed10
@ -56,18 +56,41 @@
|
|||||||
<header>
|
<header>
|
||||||
<h2>Employment</h2><hr>
|
<h2>Employment</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% r.work.forEach( function( proj, idx, ar) { %}
|
{% r.work.forEach( function( proj, idx, ar) { %}
|
||||||
<h3><em>{{ proj.position }}</em>, {{ proj.company }} <span class="tenure">{{ proj.startDate }} — {{ proj.endDate }}<span></h3>
|
{% if( idx < 4 ) { %}
|
||||||
<p style="clear: both;">{{ proj.summary|md }}</p>
|
<h3><em>{{ proj.position }}</em>, {{ proj.company }} <span class="tenure">{{ proj.startDate }} — {{ proj.endDate }}<span></h3>
|
||||||
{% if( proj.highlights ) { %}
|
<p style="clear: both;">{{ proj.summary|md }}</p>
|
||||||
|
{% if( proj.highlights ) { %}
|
||||||
|
<ul>
|
||||||
|
{% proj.highlights.forEach( function( high, idx, ar) { %}
|
||||||
|
<li>{{ high|mdin }}</li>
|
||||||
|
{% }); %}
|
||||||
|
</ul>
|
||||||
|
{% } %}
|
||||||
|
{% } else { %}
|
||||||
|
|
||||||
|
{% if( idx === 4 ) { %}
|
||||||
|
<h3>Previously... <span class="tenure">{{ r.work[ r.work.length - 1 ].safeStartDate.format('YYYY') }} — {{ proj.safeEndDate.format('YYYY') }}<span></h3>
|
||||||
|
<p style="clear: both;">Prior to {{ r.work[ 3 ].company }}, I worked on a range of projects for companies large and small.</p>
|
||||||
<ul>
|
<ul>
|
||||||
{% proj.highlights.forEach( function( high, idx, ar) { %}
|
{% } %}
|
||||||
<li>{{ high|mdin }}</li>
|
|
||||||
{% }); %}
|
|
||||||
|
<li>{{ proj.position }}, {{ proj.company }}</li>
|
||||||
|
|
||||||
|
|
||||||
|
{% if( idx === ar.length - 1 ) { %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% } %}
|
||||||
|
|
||||||
{% } %}
|
{% } %}
|
||||||
{% }); %}
|
{% }); %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
@ -79,7 +102,7 @@
|
|||||||
<h2>Education</h2><hr>
|
<h2>Education</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
{% r.education.forEach( function( edu, idx, ar) { %}
|
{% r.education.forEach( function( edu, idx, ar) { %}
|
||||||
<h3>{{ edu.institution }} <span class="tenure">{{ edu.startDate }} — {{ edu.endDate }}<span></h3>
|
<h3>{{ edu.institution }} <span class="tenure">{{ edu.safeStartDate.format('YYYY') }} — {{ edu.safeEndDate.format('YYYY') }}<span></h3>
|
||||||
<p style="clear: both;">{{ edu.area|md }}</p>
|
<p style="clear: both;">{{ edu.area|md }}</p>
|
||||||
{% }); %}
|
{% }); %}
|
||||||
|
|
||||||
@ -92,7 +115,7 @@
|
|||||||
<h2>Volunteer</h2><hr>
|
<h2>Volunteer</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
{% r.volunteer.forEach( function( vol, idx, ar ) { %}
|
{% r.volunteer.forEach( function( vol, idx, ar ) { %}
|
||||||
<h3>{{ vol.organization }} <span class="tenure">{{ vol.startDate }} — {{ vol.endDate }}<span></h3>
|
<h3>{{ vol.organization }} <span class="tenure">{{ vol.safeStartDate.format('YYYY') }} — {{ vol.safeEndDate.format('YYYY') }}<span></h3>
|
||||||
<p style="clear: both;">{{ vol.summary|md }}</p>
|
<p style="clear: both;">{{ vol.summary|md }}</p>
|
||||||
{% if( vol.highlights ) { %}
|
{% if( vol.highlights ) { %}
|
||||||
<ul>
|
<ul>
|
||||||
@ -119,8 +142,8 @@
|
|||||||
{% } else { %}
|
{% } else { %}
|
||||||
<span class="res-label">{{ pub.name }}</span>, {{ pub.publisher }}
|
<span class="res-label">{{ pub.name }}</span>, {{ pub.publisher }}
|
||||||
{% } %}
|
{% } %}
|
||||||
|
<span class="tenure">{{ pub.safeReleaseDate.format('YYYY') }}</span>
|
||||||
</h4>
|
</h4>
|
||||||
<span class="tenure">Published on: {{ pub.releaseDate }}</span>
|
|
||||||
|
|
||||||
{{ pub.summary|md }}
|
{{ pub.summary|md }}
|
||||||
|
|
||||||
@ -135,8 +158,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<span class="fa fa-lg fa-trophy"></span>
|
<span class="fa fa-lg fa-trophy"></span>
|
||||||
{% r.awards.forEach( function( award, idx, ar) { %}
|
{% r.awards.forEach( function( award, idx, ar) { %}
|
||||||
<h4><span class="res-label">{{ award.title }}</span>, {{ award.awarder }}</h4>
|
<h4><span class="res-label">{{ award.title }}</span>, {{ award.awarder }} <span class="tenure">{{ award.safeDate.format('YYYY') }}</span></h4>
|
||||||
<span class="tenure">{{ award.date }}</span>
|
|
||||||
{{ award.summary|md }}
|
{{ award.summary|md }}
|
||||||
{% }); %}
|
{% }); %}
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user