From 489f0f056f4848ef2b3b0fc08bc85499b9dbf307 Mon Sep 17 00:00:00 2001 From: Antonio Ruberto Date: Sun, 10 Jan 2016 17:21:22 -0500 Subject: [PATCH] initial version --- README.md | 2 +- package.json | 21 +++++++ src/partials/about.html | 7 +++ src/partials/body.html | 12 ++++ src/partials/contact.html | 7 +++ src/partials/education.html | 21 +++++++ src/partials/employment.html | 25 +++++++++ src/partials/head.html | 11 ++++ src/partials/pdf-font-hack.html | 98 +++++++++++++++++++++++++++++++++ src/partials/projects.html | 25 +++++++++ src/partials/recognition.html | 14 +++++ src/partials/samples.html | 25 +++++++++ src/partials/service.html | 25 +++++++++ src/partials/skills.html | 20 +++++++ src/partials/writing.html | 17 ++++++ src/template-html.html | 9 +++ src/template-pdf.html | 10 ++++ theme.json | 4 ++ 18 files changed, 352 insertions(+), 1 deletion(-) create mode 100644 package.json create mode 100644 src/partials/about.html create mode 100644 src/partials/body.html create mode 100644 src/partials/contact.html create mode 100644 src/partials/education.html create mode 100644 src/partials/employment.html create mode 100644 src/partials/head.html create mode 100644 src/partials/pdf-font-hack.html create mode 100644 src/partials/projects.html create mode 100644 src/partials/recognition.html create mode 100644 src/partials/samples.html create mode 100644 src/partials/service.html create mode 100644 src/partials/skills.html create mode 100644 src/partials/writing.html create mode 100644 src/template-html.html create mode 100644 src/template-pdf.html create mode 100644 theme.json diff --git a/README.md b/README.md index b0f05b7..a345b61 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # fresh-theme-bootstrap -Responsive resume theme using Bootstrap and Bootswatch +Responsive resume theme using Bootstrap and Bootswatch. diff --git a/package.json b/package.json new file mode 100644 index 0000000..58dc7dd --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "fresh-theme-bootstrap", + "version": "1.0.0", + "description": "Responsive resume theme using Bootstrap and Bootswatch.", + "repository": { + "type": "git", + "url": "git+https://github.com/aruberto/fresh-theme-bootstrap.git" + }, + "keywords": [ + "fresh-themes", + "hackmyresume", + "fresh", + "fresca" + ], + "author": "aruberto (https://github.com/aruberto)", + "license": "MIT", + "bugs": { + "url": "https://github.com/aruberto/fresh-theme-bootstrap/issues" + }, + "homepage": "https://github.com/aruberto/fresh-theme-bootstrap#readme" +} diff --git a/src/partials/about.html b/src/partials/about.html new file mode 100644 index 0000000..c16c9ab --- /dev/null +++ b/src/partials/about.html @@ -0,0 +1,7 @@ +{{#if r.info.brief}} +
+
+

 {{{sectionTitle "info" "About"}}}

+
{{{r.info.brief}}}
+
+{{/if}} diff --git a/src/partials/body.html b/src/partials/body.html new file mode 100644 index 0000000..169d205 --- /dev/null +++ b/src/partials/body.html @@ -0,0 +1,12 @@ +
+ {{> contact}} + {{> about}} + {{> skills}} + {{> employment}} + {{> projects}} + {{> samples}} + {{> education}} + {{> service}} + {{> writing}} + {{> recognition}} +
diff --git a/src/partials/contact.html b/src/partials/contact.html new file mode 100644 index 0000000..87dde10 --- /dev/null +++ b/src/partials/contact.html @@ -0,0 +1,7 @@ +
+

{{{r.name}}}

+ {{#if r.location.city}}

 {{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}

{{/if}} + {{#if r.contact.email}}

 {{r.contact.email}}

{{/if}} + {{#if r.contact.phone}}

 {{r.contact.phone}}

{{/if}} + {{#if r.contact.website}}

 {{RAW.contact.website}}

{{/if}} +
diff --git a/src/partials/education.html b/src/partials/education.html new file mode 100644 index 0000000..9276d8d --- /dev/null +++ b/src/partials/education.html @@ -0,0 +1,21 @@ +{{#section 'education'}} +
+
+

 {{{sectionTitle "Education"}}}

+
+ {{#each r.education.history}} +

{{studyType}}, {{#if url}}{{institution}}{{else}}{{institution}}{{/if}}

+ {{#if area}}
{{area}}
{{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{formatDate safe.end 'YYYY-MM'}} + {{#if curriculum}} +
    + {{#each curriculum}} +
  • {{{this}}}
  • + {{/each}} +
+ {{/if}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/employment.html b/src/partials/employment.html new file mode 100644 index 0000000..9938915 --- /dev/null +++ b/src/partials/employment.html @@ -0,0 +1,25 @@ +{{#section 'employment'}} +
+
+

 {{{sectionTitle "Employment"}}}

+
+ {{#each r.employment.history}} + {{#if url}} +

{{position}}, {{employer}}

+ {{else}} +

{{position}}, {{employer}}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{#if current}}Present{{else}}{{formatDate safe.end 'YYYY-MM'}}{{/if}} + {{{summary}}} + {{#if highlights}} +
    + {{#each highlights}} +
  • {{{this}}}
  • + {{/each}} +
+ {{/if}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/head.html b/src/partials/head.html new file mode 100644 index 0000000..660b29b --- /dev/null +++ b/src/partials/head.html @@ -0,0 +1,11 @@ + + + +{{r.name}} +{{#compare opts.css "bootstrap" operator="=="}} + +{{/compare}} +{{#compare opts.css "bootstrap" operator="!="}} + +{{/compare}} + diff --git a/src/partials/pdf-font-hack.html b/src/partials/pdf-font-hack.html new file mode 100644 index 0000000..8b377fa --- /dev/null +++ b/src/partials/pdf-font-hack.html @@ -0,0 +1,98 @@ + diff --git a/src/partials/projects.html b/src/partials/projects.html new file mode 100644 index 0000000..1baed75 --- /dev/null +++ b/src/partials/projects.html @@ -0,0 +1,25 @@ +{{#section 'projects'}} +
+
+

 {{{sectionTitle "Projects"}}}

+
+ {{#each r.projects}} + {{#if url}} +

{{role}}, {{title}}

+ {{else}} +

{{role}}, {{title}}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{#if current}}Present{{else}}{{formatDate safe.end 'YYYY-MM'}}{{/if}} + {{{summary}}} + {{#if highlights}} +
    + {{#each highlights}} +
  • {{{this}}}
  • + {{/each}} +
+ {{/if}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/recognition.html b/src/partials/recognition.html new file mode 100644 index 0000000..adaeb36 --- /dev/null +++ b/src/partials/recognition.html @@ -0,0 +1,14 @@ +{{#section 'recognition'}} +
+
+

 {{{sectionTitle "recognition" "Awards"}}}

+
+ {{#each r.recognition}} +

{{title}}, {{from}}

+ {{{date}}} + {{{summary}}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/samples.html b/src/partials/samples.html new file mode 100644 index 0000000..6a86bd5 --- /dev/null +++ b/src/partials/samples.html @@ -0,0 +1,25 @@ +{{#section 'samples'}} +
+
+

 {{{sectionTitle "Samples"}}}

+
+ {{#each r.samples}} + {{#if url}} +

{{role}}, {{title}}

+ {{else}} +

{{role}}, {{title}}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{#if current}}Present{{else}}{{formatDate safe.end 'YYYY-MM'}}{{/if}} + {{{summary}}} + {{#if highlights}} +
    + {{#each highlights}} +
  • {{{this}}}
  • + {{/each}} +
+ {{/if}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/service.html b/src/partials/service.html new file mode 100644 index 0000000..8fb24b9 --- /dev/null +++ b/src/partials/service.html @@ -0,0 +1,25 @@ +{{#section 'service'}} +
+
+

 {{{sectionTitle "Service"}}}

+
+ {{#each r.service.history}} + {{#if url}} +

{{position}}, {{organization}}

+ {{else}} +

{{position}}, {{organization}}

+ {{/if}} + {{formatDate safe.start 'YYYY-MM'}}—{{formatDate safe.end 'YYYY-MM'}} + {{{summary}}} + {{#if highlights}} +
    + {{#each highlights}} +
  • {{{this}}}
  • + {{/each}} +
+ {{/if}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/partials/skills.html b/src/partials/skills.html new file mode 100644 index 0000000..1e5d5b5 --- /dev/null +++ b/src/partials/skills.html @@ -0,0 +1,20 @@ +{{#section 'skills'}} +
+
+

 {{{sectionTitle "Skills"}}}

+
+ {{#each r.skills.sets}} +

+
{{name}}
+
+ {{#if skills}} + {{#each skills}} + {{this}} + {{/each}} + {{/if}} +
+

+ {{/each}} +
+
+{{/section}} diff --git a/src/partials/writing.html b/src/partials/writing.html new file mode 100644 index 0000000..bc597d6 --- /dev/null +++ b/src/partials/writing.html @@ -0,0 +1,17 @@ +{{#section 'writing'}} +
+
+

 {{{sectionTitle "writing" "Publications"}}}

+
+ {{#each r.writing}} + {{#if url}} +

{{title}}, {{publisher.name}}

+ {{else}} +

{{title}}, {{publisher.name}}

+ {{/if}} + Published on: {{formatDate safe.date 'YYYY-MM'}} + {{#unless @last}}
 
{{/unless}} + {{/each}} +
+
+{{/section}} diff --git a/src/template-html.html b/src/template-html.html new file mode 100644 index 0000000..a4e4ad9 --- /dev/null +++ b/src/template-html.html @@ -0,0 +1,9 @@ + + + + {{> head}} + + + {{> body headerClass='col-md-3' contentClass='col-md-9'}} + + diff --git a/src/template-pdf.html b/src/template-pdf.html new file mode 100644 index 0000000..fb33a3b --- /dev/null +++ b/src/template-pdf.html @@ -0,0 +1,10 @@ + + + + {{> head}} + {{> pdf-font-hack}} + + + {{> body headerClass='col-xs-3' contentClass='col-xs-9'}} + + diff --git a/theme.json b/theme.json new file mode 100644 index 0000000..02d53e1 --- /dev/null +++ b/theme.json @@ -0,0 +1,4 @@ +{ + "title": "fresh-theme-bootstrap", + "engine": "handlebars" +}