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

Update with FRESH format changes.

This commit is contained in:
devlinjd
2015-11-21 08:20:44 -05:00
parent 63cce908ca
commit c64e6e450a
13 changed files with 411 additions and 172 deletions

View File

@ -25,7 +25,7 @@
{% } %}
{% if ( r.skills && r.skills.length ) { %}
{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %}
<section id="skills">
<header>
<h2>Skills</h2><hr>
@ -38,10 +38,10 @@
</tr>
</thead>
<tbody>
{% r.skills.forEach( function( skill, idx, ar) { %}
{% r.skills.sets.forEach( function( skillset ) { %}
<tr>
<td style="width: 25%;">{{ skill.name }}</td>
<td class="keywords">{{ skill.level }}</td>
<td style="width: 25%;">{{ skillset.name }}</td>
<td class="keywords">{{ skillset.skills.join(',') }}</td>
</tr>
{% }); %}
</tbody>
@ -129,15 +129,15 @@
</section>
{% } %}
{% if( r.publications && r.publications.length ) { %}
{% if( r.writing && r.writing.length ) { %}
<section id="publications">
<header>
<h2>Publications</h2><hr>
</header>
<span class="fa fa-lg fa-trophy"></span>
{% r.publications.forEach( function( pub, idx, ar) { %}
{% r.writing.forEach( function( pub, idx, ar) { %}
<h4>
{% if( pub.link ) { %}
{% if( pub.url ) { %}
<span class="res-label"><a href="{{ pub.link[0].url }}" ></span>{{ pub.title }}</a>,&nbsp;{{ pub.publisher }}
{% } else { %}
<span class="res-label">{{ pub.title }}</span>,&nbsp;{{ pub.publisher }}
@ -151,14 +151,14 @@
</section>
{% } %}
{% if( r.awards && r.awards.length ) { %}
{% if( r.recognition && r.recognition.length ) { %}
<section id="awards">
<header>
<h2>Awards</h2><hr>
</header>
<span class="fa fa-lg fa-trophy"></span>
{% r.awards.forEach( function( award, idx, ar) { %}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.awarder }} <span class="tenure">{{ award.safeDate.format('YYYY') }}</span></h4>
{% r.recognition.forEach( function( award, idx, ar) { %}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.from }} <span class="tenure">{{ award.safe.date.format('YYYY') }}</span></h4>
{{ award.summary|md }}
{% }); %}
</section>