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

Continue fleshing out themes.

This commit is contained in:
hacksalot
2016-01-05 07:56:40 -05:00
parent 2eaa34ff3f
commit e48a3f493f
10 changed files with 307 additions and 258 deletions

View File

@ -60,37 +60,21 @@
</header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
<h3>Previously...</h3>
<p style="clear: both;">Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.</p>
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{/compare}}
<li>{{{ position }}}, {{{ employer }}}</li>
{{#if @last}}
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/compare}}
{{/if}}
{{/each}}
</section>
@ -123,6 +107,33 @@
</section>
{{/section}}
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h3>{{{sectionTitle "Samples"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.samples}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>

View File

@ -61,37 +61,21 @@
</header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
<h3>Previously...</h3>
<p style="clear: both;">Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.</p>
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{/compare}}
<li>{{{ position }}}, {{{ employer }}}</li>
{{#if @last}}
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/compare}}
{{/if}}
{{/each}}
</section>
@ -124,6 +108,33 @@
</section>
{{/section}}
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h3>{{{sectionTitle "Samples"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.samples}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>