1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-10-05 05:35:12 +01:00
fresh-themes/themes/compact/src/compact-html.html

182 lines
4.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ RAW.name }}</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{{styleSheet "html.css"}}}
</head>
<body>
<main>
<header>
<h1>{{{ r.name }}}</h1>
<div id="contact">
{{#has 'contact.email'}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
{{#has 'contact.phone'}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
{{#has 'contact.website'}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{trimURL RAW.contact.website }}</a></div>{{/has}}
</div>
</header>
2016-01-06 08:51:13 +00:00
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/has}}
2016-01-06 08:51:13 +00:00
{{#section "skills"}}
<section id="skills">
<header>
<h2><span class="fa fa-code"></span> {{{sectionTitle "Skills"}}}</h2><hr>
</header>
<table>
<thead>
<tr>
<th>Skill</th>
<th>Keywords</th>
</tr>
</thead>
<tbody>
{{#each r.skills.sets}}
<tr>
<td style="width: 25%;">{{ name }}</td>
<td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
</tr>
{{/each}}
</tbody>
</table>
</section>
{{/section}}
{{#section "employment"}}
<section id="employment">
<header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2><hr>
</header>
{{#each r.employment.history}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{ employer }}</a>
{{else}}
{{ employer }}
{{/if}}
2016-01-06 08:51:13 +00:00
<span class="tenure">{{dateRange .}}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
{{#section 'projects'}}
<section id="projects">
<header>
<h2><span class="fa fa-star"></span>{{{sectionTitle "Projects"}}}</h2><hr>
</header>
{{#each r.projects}}
2016-01-06 08:51:13 +00:00
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
2016-01-06 08:51:13 +00:00
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
2016-01-06 08:51:13 +00:00
{{ title }}
{{/if}}
2016-01-06 08:51:13 +00:00
<span class="tenure">{{dateRange .}}</span></h3>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
{{#section "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
</header>
{{#each r.education.history}}
2016-01-06 08:51:13 +00:00
<h3>{{{ institution }}} <span class="tenure">{{dateRange .}}<span></h3>
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
{{#section "service"}}
<section id="volunteer">
<header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2><hr>
</header>
{{#each r.service.history}}
<h3><em>{{ position }}</em>,
{{#if url}}
<a href="{{ url }}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
2016-01-06 08:51:13 +00:00
<span class="tenure">{{dateRange .}}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
{{#section "writing"}}
<section id="publications">
<header>
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2><hr>
</header>
{{#each r.writing }}
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
2016-01-06 08:51:13 +00:00
{{ publisher.name }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
{{#section "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
</header>
{{#each r.recognition}}
2016-01-06 08:51:13 +00:00
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
{{ summary }}
{{/each}}
</section>
{{/section}}
2016-01-06 08:51:13 +00:00
</main>
</body>
</html>