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

Improve consistency of partials.

This commit is contained in:
hacksalot
2016-01-12 21:29:06 -05:00
parent 786689c42d
commit 56408b82ef
10 changed files with 30 additions and 9 deletions

View File

@ -5,6 +5,7 @@
{{> header-icon _title="PROJECTS" _section="projects" _hdricon=(lookup . '_icon') }}
{{/header-projects}}
{{#each r.projects }}
{{#> body-projects }}
<div>
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
@ -14,12 +15,13 @@
{{/if}}
</h3>
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}}
{{> highlights }}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
</div>
{{/body-projects }}
{{/each}}
</section>
{{/section}}