Introduce "Basis" theme.

This commit is contained in:
hacksalot 2016-01-05 06:26:39 -05:00
parent 45d4cd2675
commit d6a9880717
4 changed files with 227 additions and 0 deletions

18
themes/basis/README.md Normal file
View File

@ -0,0 +1,18 @@
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
FRESH themes can inherit from the basis theme (or any theme) in order to provide
default formats that the theme author(s) may not necessarily be interested in.
## License
MIT. See [LICENSE.md][lic] for details.
[lic]: https://github.com/fluentdesk/fresh-themes/blob/master/LICENSE.md

108
themes/basis/src/md.txt Normal file
View File

@ -0,0 +1,108 @@
{{ r.name }}
============
{{#has 'contact.email' }}Email: {{{ r.contact.email }}}{{/has}}
{{#has 'contact.phone' }}Tel: {{{ r.contact.phone }}}{{/has}}
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
{{#has "info.brief" }}{{{ r.info.brief }}}{{/has}}
{{#section "skills"}}
## {{{sectionTitle "SKILLS"}}}
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{{/each}}
{{/section}}
{{#section "employment"}}
## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }}
{{#if url}}
### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{else}}
### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{/if}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section 'projects'}}
## {{{sectionTitle "PROJECTS"}}}
{{#each r.projects }}
{{#if url }}
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{else}}
### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{/if}}
{{{ description }}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ . }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section 'education'}}
## {{{sectionTitle "EDUCATION"}}}
{{#each r.education.history}}
{{#if url}}
### [{{{ institution }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{else}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{/if}}
{{#if summary }}
{{{ summary }}}
{{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/section}}
{{#section 'writing'}}
## WRITING
{{#each r.writing}}
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/section}}
{{#section 'service'}}
## {{{sectionTitle "SERVICE"}}}
{{#each r.service.history }}
{{#if url}}
### [{{{ organization }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{else}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{/if}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section 'recognition'}}
## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}}
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/section}}

94
themes/basis/src/txt.txt Normal file
View File

@ -0,0 +1,94 @@
{{ r.name }}
{{#has 'contact.email' }}Email: {{{ r.contact.email }}}{{/has}}
{{#has 'contact.phone' }}Tel: {{{ r.contact.phone }}}{{/has}}
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
================================================================================
{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}}
{{#section "skills"}}
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
{{/each}}
{{/section}}
{{#section "employment"}}
{{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
{{#each r.employment.history }}
{{{ position }}}, {{{ employer }}} ({{dateRange .}})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section 'projects'}}
{{{sectionTitle "PROJECTS"}}} -----------------------------------------------------------------------
{{#each r.projects }}
{{{ title }}}, {{{ role }}} ({{dateRange .}})
{{{ description }}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section "education"}}
{{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{#each r.education.history}}
{{{ institution }}} ({{dateRange .}})
{{#if summary }}
{{{ summary }}}
{{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section "writing"}}
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}}
{{{ summary }}}
{{/each}}
{{/section}}
{{#section "service" }}
{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
{{#each r.service.history}}
{{{ organization }}} ({{dateRange .}})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}
{{#section "recognition"}}
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/section}}

7
themes/basis/theme.json Normal file
View File

@ -0,0 +1,7 @@
{
"title": "basis",
"description": "A theme that is a basis for other themes.",
"author": "hacksalot <hacksalot@indevious.com> (https://github.com/hacksalot)",
"engine": "handlebars",
"message": "To get colored skill progress bars, make sure your resume includes a `level` element for each skill!"
}