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

Update with recent format changes.

This commit is contained in:
devlinjd
2015-12-09 08:08:00 -05:00
parent 95463fbb82
commit c52840918f
8 changed files with 101 additions and 109 deletions

View File

@ -27,9 +27,9 @@ engine: Underscore
<header>
<h1>{{ r.name }}</h1>
<div id="contact">
{% if (r.contact.email) { %}<div class="email">{{ r.contact.email }}</div>{% } %}
{% if (r.contact.phone) { %}<div class="phone">{{ r.contact.phone }}</div>{% } %}
{% if (r.contact.website) { %}<div class="website"><a href="{{ r.contact.website }}">{{ r.contact.website }}</a></div>{% } %}
{% if (r.contact.email) { %}<div class="email">{{ RAW.contact.email }}</div>{% } %}
{% if (r.contact.phone) { %}<div class="phone">{{ RAW.contact.phone }}</div>{% } %}
{% if (r.contact.website) { %}<div class="website"><a href="{{ RAW.contact.website }}">{{ RAW.contact.website }}</a></div>{% } %}
</div>
</header>
@ -38,7 +38,7 @@ engine: Underscore
<section id="summary">
<h3>About</h3>
<span class="fa fa-lg fa-user"></span>
{{ r.info.brief|md }}
{{ r.info.brief }}
</section>
{% } %}
@ -86,16 +86,16 @@ engine: Underscore
<span class="fa fa-lg fa-building"></span>
{% r.employment.history.forEach( function( proj, idx, ar) { %}
{% if( proj.url && proj.url.length ) { %}
<h4><span class="res-label">{{ proj.position }}</span>, <a href="{{ proj.url|raw }}">{{ proj.employer }}</a></h4>
<h4><span class="res-label">{{ proj.position }}</span>, <a href="{{ proj.url }}">{{ proj.employer }}</a></h4>
{% } else { %}
<h4><span class="res-label">{{ proj.position }}</span>, <span class="defunct">{{ proj.employer }}</span></h4>
{% } %}
<span class="tenure">{{ proj.safe.start.format('YYYY-MM') }}&mdash;{{ proj.safe.end.format('YYYY-MM') }}</span>
{{ proj.summary|md }}
{{ proj.summary }}
{% if( proj.highlights ) { %}
<ul>
{% proj.highlights.forEach( function( high, idx, ar) { %}
<li>{{ high|mdin }}</li>
<li>{{ high }}</li>
{% }); %}
</ul>
{% } %}
@ -119,7 +119,7 @@ engine: Underscore
{% if( edu.courses ) { %}
<ul>
{% edu.courses.forEach( function( course, idx, ar) { %}
<li>{{ course|mdin }}</li>
<li>{{ course }}</li>
{% }); %}
</ul>
{% } %}
@ -138,7 +138,7 @@ engine: Underscore
{% r.recognition.forEach( function( award, idx, ar) { %}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.from }}</h4>
<span class="tenure">{{ award.date }}</span>
{{ award.summary|md }}
{{ award.summary }}
{% }); %}
</section>
{% } %}
@ -149,14 +149,10 @@ engine: Underscore
<header>
<h3>Publications</h3>
</header>
<span class="fa fa-lg fa-trophy"></span>
<span class="fa fa-lg fa-pencil"></span>
{% r.writing.forEach( function( pub, idx, ar) { %}
<h4>
{% 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.name }}</span>,&nbsp;{{ pub.publisher }}
{% } %}
<span class="res-label">{{ filt.link(pub.title, pub.url) }}</span>&nbsp;{{ pub.publisher }}
</h4>
<span class="tenure">Published on: {{ pub.safe.date.format('YYYY-MM') }}</span>
@ -175,16 +171,16 @@ engine: Underscore
<span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %}
{% if( vol.url && vol.url.length ) { %}
<h4><span class="res-label">{{ vol.position }}</span>, <a href="{{ vol.website|raw }}">{{ vol.organization }}</a></h4>
<h4><span class="res-label">{{ vol.position }}</span>, <a href="{{ vol.website }}">{{ vol.organization }}</a></h4>
{% } else { %}
<h4><span class="res-label">{{ vol.position }}</span>, <span class="defunct">{{ vol.organization }}</span></h4>
{% } %}
<span class="tenure">{{ vol.safe.start.format('YYYY-MM') }}&mdash;{{ vol.safe.end.format('YYYY-MM') }}</span>
{{ vol.summary|md }}
{{ vol.summary }}
{% if( vol.highlights ) { %}
<ul>
{% vol.highlights.forEach( function( high, idx, ar) { %}
<li>{{ high|mdin }}</li>
<li>{{ high }}</li>
{% }); %}
</ul>
{% } %}