Continue fleshing out themes.

This commit is contained in:
hacksalot 2016-01-05 07:56:40 -05:00
parent 2eaa34ff3f
commit e48a3f493f
10 changed files with 307 additions and 258 deletions

View File

@ -10,6 +10,7 @@
"evaluate": "\\[~([\\s\\S]+?)~]",
"comment": "\\[\\#([\\s\\S]+?)\\#\\]"
},
"leaf": true,
"formats": {
"latex": {
"transform": [

View File

@ -3,8 +3,6 @@ Theme: Basis
A basis résumé theme for HackMyResume, FluentCV, and other FRESH-compatible
resume tools.
![](modern.png)
## Use
The basis theme contains default theme files for use in other themes. Other

View File

@ -0,0 +1 @@
/* An empty CSS file. */

172
themes/basis/src/html.html Normal file
View File

@ -0,0 +1,172 @@
<!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>
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/has}}
{{#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}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section 'projects'}}
<hr>
<section id="projects">
<header>
<h3>{{{sectionTitle "Projects"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.projects}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
</header>
{{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
{{/each}}
</section>
{{/section}}
{{#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}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#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>,
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
</header>
{{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{ summary }}
{{/each}}
</section>
{{/section}}
</main>
</body>
</html>

View File

@ -1,173 +0,0 @@
<!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 "compact-html.css"}}}
</head>
<body>
<main>
<header>
<h1>{{{ r.name }}}</h1>
<div id="contact">
{{#if r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/if}}
{{#if r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/if}}
{{#if r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{trimURL RAW.contact.website }}</a></div>{{/if}}
</div>
</header>
{{#has "info.brief"}}
<section id="summary">
{{{ r.info.brief }}}
</section>
{{/has}}
{{#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}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section 'projects'}}
<hr>
<section id="projects">
<header>
<h3>{{{sectionTitle "Projects"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.projects}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
</header>
{{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
{{/each}}
</section>
{{/section}}
{{#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}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#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>,
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "recognition"}}
<section id="awards">
<header>
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
</header>
{{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{ summary }}
{{/each}}
</section>
{{/section}}
</main>
</body>
</html>

View File

@ -5,6 +5,7 @@
"engine": "handlebars",
"inherits": {
"txt": "basis",
"md": "basis"
"md": "basis",
"html": "basis"
}
}

View File

@ -13,9 +13,9 @@
<header>
<h1>{{{ r.name }}}</h1>
<div id="contact">
{{#if r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/if}}
{{#if r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/if}}
{{#if r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/if}}
{{#has r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
{{#has r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
{{#has r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
</div>
</header>
@ -30,7 +30,7 @@
{{/if}}
{{#if r.skills }}
{{#section 'skills' }}
<hr>
<section id="skills">
<header>
@ -60,11 +60,11 @@
</section>
{{/if}}
{{/section}}
{{#if r.employment}}
{{#section 'employment'}}
<hr>
<section id="employment">
<header>
@ -89,7 +89,7 @@
{{/each}}
</section>
{{/if}}
{{/section}}
{{#section 'projects'}}
<hr>
@ -167,7 +167,7 @@
</section>
{{/section}}
{{#if r.service}}
{{#section 'service'}}
<hr>
<section id="volunteer">
<header>
@ -192,9 +192,9 @@
{{/each}}
</section>
{{/if}}
{{/section}}
{{#if r.writing}}
{{#section 'writing'}}
<hr>
<section id="publications">
<header>
@ -210,9 +210,9 @@
<span class="tenure">Published on: {{formatDate safe.date 'YYYY-MM'}}</span>
{{/each}}
</section>
{{/if}}
{{/section}}
{{# if r.recognition}}
{{#section 'recognition'}}
<hr>
<section id="awards">
<header>
@ -225,7 +225,7 @@
{{{ summary }}}
{{/each}}
</section>
{{/if}}
{{/section}}
</div>
</main>

View File

@ -18,9 +18,9 @@
<header>
<h1>{{{ r.name }}}</h1>
<div id="contact">
{{#if r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/if}}
{{#if r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/if}}
{{#if r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/if}}
{{#has r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
{{#has r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
{{#has r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
</div>
</header>
@ -35,7 +35,7 @@
{{/if}}
{{#if r.skills }}
{{#section 'skills' }}
<hr>
<section id="skills">
<header>
@ -65,11 +65,11 @@
</section>
{{/if}}
{{/section}}
{{#if r.employment}}
{{#section 'employment'}}
<hr>
<section id="employment">
<header>
@ -94,7 +94,7 @@
{{/each}}
</section>
{{/if}}
{{/section}}
{{#section 'projects'}}
<hr>
@ -123,6 +123,33 @@
</section>
{{/section}}
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h3>{{{sectionTitle "Samples"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.samples}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section 'education'}}
<hr>
<section id="education">
@ -145,7 +172,7 @@
</section>
{{/section}}
{{#if r.service}}
{{#section 'service'}}
<hr>
<section id="volunteer">
<header>
@ -170,9 +197,9 @@
{{/each}}
</section>
{{/if}}
{{/section}}
{{#if r.writing}}
{{#section 'writing'}}
<hr>
<section id="publications">
<header>
@ -188,9 +215,9 @@
<span class="tenure">Published on: {{formatDate safe.date 'YYYY-MM'}}</span>
{{/each}}
</section>
{{/if}}
{{/section}}
{{# if r.recognition}}
{{#section 'recognition'}}
<hr>
<section id="awards">
<header>
@ -203,7 +230,7 @@
{{{ summary }}}
{{/each}}
</section>
{{/if}}
{{/section}}
</div>
</main>

View File

@ -60,37 +60,21 @@
</header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
<h3>Previously...</h3>
<p style="clear: both;">Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.</p>
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{/compare}}
<li>{{{ position }}}, {{{ employer }}}</li>
{{#if @last}}
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/compare}}
{{/if}}
{{/each}}
</section>
@ -123,6 +107,33 @@
</section>
{{/section}}
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h3>{{{sectionTitle "Samples"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.samples}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>

View File

@ -61,37 +61,21 @@
</header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{{ employer }}}</a>
{{else}}
{{{ employer }}}
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
<h3>Previously...</h3>
<p style="clear: both;">Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.</p>
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{/compare}}
<li>{{{ position }}}, {{{ employer }}}</li>
{{#if @last}}
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/compare}}
{{/if}}
{{/each}}
</section>
@ -124,6 +108,33 @@
</section>
{{/section}}
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h3>{{{sectionTitle "Samples"}}}</h3>
</header>
<span class="fa fa-lg fa-building"></span>
{{#each r.samples}}
{{#if url}}
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
{{else}}
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}&mdash;{{formatDate safe.end 'YYYY-MM' }}</span>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}
{{#section "education"}}
<section id="education">
<header>