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

Introduce global theme partials.

This commit is contained in:
hacksalot
2016-01-06 03:51:13 -05:00
parent 9fd0ce9695
commit b4a93020ec
24 changed files with 599 additions and 59 deletions

View File

@@ -0,0 +1,25 @@
{{#section 'projects'}}
<hr>
<section id="projects">
<header>
<h2>{{{sectionTitle "Projects"}}}</h2>
</header>
{{#each r.projects}}
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
{{ title }}
{{/if}}
<span class="tenure">{{dateRange .}}</span></h3>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}