From 8c5715d5f4164cecf4297bbc3563dc4062f02d3d Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 11 Jan 2016 19:54:44 -0500 Subject: [PATCH] Introduce TXT section partials. --- partials/txt/section/education.hbs | 16 ++++++++++++++++ partials/txt/section/employment.hbs | 14 ++++++++++++++ partials/txt/section/projects.hbs | 15 +++++++++++++++ partials/txt/section/recognition.hbs | 9 +++++++++ partials/txt/section/samples.hbs | 15 +++++++++++++++ partials/txt/section/service.hbs | 14 ++++++++++++++ partials/txt/section/skills.hbs | 7 +++++++ partials/txt/section/writing.hbs | 9 +++++++++ 8 files changed, 99 insertions(+) create mode 100644 partials/txt/section/education.hbs create mode 100644 partials/txt/section/employment.hbs create mode 100644 partials/txt/section/projects.hbs create mode 100644 partials/txt/section/recognition.hbs create mode 100644 partials/txt/section/samples.hbs create mode 100644 partials/txt/section/service.hbs create mode 100644 partials/txt/section/skills.hbs create mode 100644 partials/txt/section/writing.hbs diff --git a/partials/txt/section/education.hbs b/partials/txt/section/education.hbs new file mode 100644 index 0000000..97c3d97 --- /dev/null +++ b/partials/txt/section/education.hbs @@ -0,0 +1,16 @@ +{{#section "education"}} +{{{sectionTitle "EDUCATION"}}} ---------------------------------------------------------------------- + +{{#each r.education.history}} +{{{ institution }}} ({{dateRange .}}) +{{#if summary }} +{{{ summary }}} +{{/if}} +{{#if courses}} +{{#each courses}} +- {{{ this }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/employment.hbs b/partials/txt/section/employment.hbs new file mode 100644 index 0000000..63970b1 --- /dev/null +++ b/partials/txt/section/employment.hbs @@ -0,0 +1,14 @@ +{{#section "employment"}} +{{{sectionTitle "EMPLOYMENT"}}} --------------------------------------------------------------------- + +{{#each r.employment.history }} +{{{ position }}}, {{{ employer }}} ({{dateRange .}}) +{{{ summary }}} +{{#if highlights}} +{{#each highlights}} +- {{{ this }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/projects.hbs b/partials/txt/section/projects.hbs new file mode 100644 index 0000000..7186fcc --- /dev/null +++ b/partials/txt/section/projects.hbs @@ -0,0 +1,15 @@ +{{#section 'projects'}} +{{{sectionTitle "PROJECTS"}}} ----------------------------------------------------------------------- + +{{#each r.projects }} +{{{ title }}}, {{{ role }}} ({{dateRange .}}) +{{{ description }}} +{{{ summary }}} +{{#if highlights}} +{{#each highlights}} +- {{{ this }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/recognition.hbs b/partials/txt/section/recognition.hbs new file mode 100644 index 0000000..9af97db --- /dev/null +++ b/partials/txt/section/recognition.hbs @@ -0,0 +1,9 @@ +{{#section "recognition"}} +{{{sectionTitle "RECOGNITION"}}} -------------------------------------------------------------------- + +{{#each r.recognition}} +{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }}) +{{{ summary }}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/samples.hbs b/partials/txt/section/samples.hbs new file mode 100644 index 0000000..d5822c2 --- /dev/null +++ b/partials/txt/section/samples.hbs @@ -0,0 +1,15 @@ +{{#section 'samples'}} +{{{sectionTitle "SAMPLES"}}} ------------------------------------------------------------------------ + +{{#each r.samples }} +{{{ title }}} ({{formatDate safe.date 'YYYY-MM'}}) + +{{{ summary }}} +{{#if highlights}} +{{#each highlights}} + - {{{ this }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/service.hbs b/partials/txt/section/service.hbs new file mode 100644 index 0000000..b90d05c --- /dev/null +++ b/partials/txt/section/service.hbs @@ -0,0 +1,14 @@ +{{#section "service" }} +{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------ + +{{#each r.service.history}} +{{{ organization }}} ({{dateRange .}}) +{{{ summary }}} +{{#if highlights}} +{{#each highlights}} +- {{{ this }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/skills.hbs b/partials/txt/section/skills.hbs new file mode 100644 index 0000000..1758b4e --- /dev/null +++ b/partials/txt/section/skills.hbs @@ -0,0 +1,7 @@ +{{#section "skills"}} +{{{sectionTitle "SKILLS"}}} ------------------------------------------------------------------------- + +{{#each r.skills.sets}} +- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}} +{{/each}} +{{/section}} diff --git a/partials/txt/section/writing.hbs b/partials/txt/section/writing.hbs new file mode 100644 index 0000000..da15843 --- /dev/null +++ b/partials/txt/section/writing.hbs @@ -0,0 +1,9 @@ +{{#section "writing"}} +{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------ + +{{#each r.writing}} +{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}} +{{{ summary }}} + +{{/each}} +{{/section}}