From e82a25dc9c4f5e6b0e9ed2f94a79885591803661 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 17:10:47 -0400 Subject: [PATCH 1/5] Update package.json version. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc05171..292b3a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "watermark", - "version": "0.1.0", + "version": "0.2.0-alpha", "description": "Themes and exemplars for FluentCV.", "private": true, "repository": { From e45f9aece7617536486ffe407ff46d76015ee1ce Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 17:14:32 -0400 Subject: [PATCH 2/5] Introduce Markdown templates. Add a baseline Markdown template to all themes. --- themes/hello-world/md.txt | 7 +++++ themes/minimist/md.txt | 59 +++++++++++++++++++++++++++++++++++++++ themes/modern/md.txt | 59 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 themes/hello-world/md.txt create mode 100644 themes/minimist/md.txt create mode 100644 themes/modern/md.txt diff --git a/themes/hello-world/md.txt b/themes/hello-world/md.txt new file mode 100644 index 0000000..24ac0bf --- /dev/null +++ b/themes/hello-world/md.txt @@ -0,0 +1,7 @@ +{# + + modern/md.txt + A Markdown resume template for FluentCV's "hello-world" theme. + +#} +# Hello, world! My name is {{ r.basics.name }}. diff --git a/themes/minimist/md.txt b/themes/minimist/md.txt new file mode 100644 index 0000000..66c89f1 --- /dev/null +++ b/themes/minimist/md.txt @@ -0,0 +1,59 @@ +{# + + modern/md.txt + A Markdown resume template for FluentCV's "minimist" theme. + +#} +# {{ r.basics.name }} + +{% if (r.basics.email) { %}Email: {{ r.basics.email }}{% } %} +{% if (r.basics.phone) { %}Tel: {{ r.basics.phone }}{% } %} +{% if (r.basics.website) { %}Web: {{ r.basics.website }}{% } %} + +{% if ( r.basics.summary && r.basics.summary.length ) { %}{{ r.basics.summary }}{% } %} + +{% if ( r.skills && r.skills.length ) { %} +## Skills +{% r.skills.forEach( function( skill, idx, ar) { %} +- **{{ skill.name }}**: {% print( skill.keywords.join(', ') ); %} +{% }); } %} + +{% if ( r.work && r.work.length ) { %} +## Employment +{% r.work.forEach( function( proj, idx, ar) { %} +### *{{ proj.position }}*, {{ proj.company }} ({{ proj.safeStartDate.format('MMM YYYY') }} — {{ proj.safeEndDate.format('MMM YYYY') }}) +{{ proj.summary }} +{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high, idx, ar) { %} +- {{ high }} +{% }); } }); } %} + +{% if ( r.education && r.education.length ) { %} +## Education +{% r.education.forEach( function( edu, idx, ar) { %} +### {{ edu.institution }} ({{ edu.safeStartDate.format('MMM YYYY') }} — {{ edu.safeEndDate.format('MMM YYYY') }}) +{{ edu.area }} +{% if( edu.courses ) { %}{% edu.courses.forEach( function( course, idx, ar) { %} +- {{ course }} +{% }); } }); } %} + +{% if ( r.publications && r.publications.length ) { %} +## Publications +{% r.publications.forEach( function( pub, idx, ar) { %} +### {{ pub.name }} ({{ pub.safeReleaseDate.format('MMM YYYY') }}) +{{ pub.publisher }} +{{ pub.summary }} +{% }); } %} + +{% if ( r.volunteer && r.volunteer.length ) { %} +## Volunteer +{% r.volunteer.forEach( function( vol, idx, ar) { %} +### {{ vol.organization }} ({{ vol.safeStartDate.format('MMM YYYY') }} — {{ vol.safeEndDate.format('MMM YYYY') }}) +{{ vol.summary }} +{% }); } %} + +{% if ( r.awards && r.awards.length ) { %} +## Awards +{% r.awards.forEach( function( awd, idx, ar) { %} +### *{{ awd.title }}*, {{ awd.awarder }} ({{ awd.safeDate.format('MMM YYYY') }}) +{{ awd.summary }} +{% }); } %} diff --git a/themes/modern/md.txt b/themes/modern/md.txt new file mode 100644 index 0000000..2db581a --- /dev/null +++ b/themes/modern/md.txt @@ -0,0 +1,59 @@ +{# + + modern/md.txt + A Markdown resume template for FluentCV's "modern" theme. + +#} +# {{ r.basics.name }} + +{% if (r.basics.email) { %}Email: {{ r.basics.email }}{% } %} +{% if (r.basics.phone) { %}Tel: {{ r.basics.phone }}{% } %} +{% if (r.basics.website) { %}Web: {{ r.basics.website }}{% } %} + +{% if ( r.basics.summary && r.basics.summary.length ) { %}{{ r.basics.summary }}{% } %} + +{% if ( r.skills && r.skills.length ) { %} +## Skills +{% r.skills.forEach( function( skill, idx, ar) { %} +- **{{ skill.name }}**: {% print( skill.keywords.join(', ') ); %} +{% }); } %} + +{% if ( r.work && r.work.length ) { %} +## Employment +{% r.work.forEach( function( proj, idx, ar) { %} +### *{{ proj.position }}*, {{ proj.company }} ({{ proj.safeStartDate.format('MMM YYYY') }} — {{ proj.safeEndDate.format('MMM YYYY') }}) +{{ proj.summary }} +{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high, idx, ar) { %} +- {{ high }} +{% }); } }); } %} + +{% if ( r.education && r.education.length ) { %} +## Education +{% r.education.forEach( function( edu, idx, ar) { %} +### {{ edu.institution }} ({{ edu.safeStartDate.format('MMM YYYY') }} — {{ edu.safeEndDate.format('MMM YYYY') }}) +{{ edu.area }} +{% if( edu.courses ) { %}{% edu.courses.forEach( function( course, idx, ar) { %} +- {{ course }} +{% }); } }); } %} + +{% if ( r.publications && r.publications.length ) { %} +## Publications +{% r.publications.forEach( function( pub, idx, ar) { %} +### {{ pub.name }} ({{ pub.safeReleaseDate.format('MMM YYYY') }}) +{{ pub.publisher }} +{{ pub.summary }} +{% }); } %} + +{% if ( r.volunteer && r.volunteer.length ) { %} +## Volunteer +{% r.volunteer.forEach( function( vol, idx, ar) { %} +### {{ vol.organization }} ({{ vol.safeStartDate.format('MMM YYYY') }} — {{ vol.safeEndDate.format('MMM YYYY') }}) +{{ vol.summary }} +{% }); } %} + +{% if ( r.awards && r.awards.length ) { %} +## Awards +{% r.awards.forEach( function( awd, idx, ar) { %} +### *{{ awd.title }}*, {{ awd.awarder }} ({{ awd.safeDate.format('MMM YYYY') }}) +{{ awd.summary }} +{% }); } %} From 54b0a7d3a98309f84410711c47f28f0a64b90eb6 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 17:45:29 -0400 Subject: [PATCH 3/5] Update README. --- README.md | 27 ++++++++++++++++++++++++--- themes/README.md | 12 ------------ 2 files changed, 24 insertions(+), 15 deletions(-) delete mode 100644 themes/README.md diff --git a/README.md b/README.md index 2af1103..b422593 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,32 @@ watermark ========= -Dress up your resume for Halloween. Resume/CV themes for [FluentCV][1] and [FluentCMD][2] live here. +Predefined template-based resume themes for [FluentCV][1] and [FluentCMD][2]. + +- `minimist`: A no-frills theme. +- `informatic`: An informative theme for technical resumes. +- `modern`: A middle of the road theme with a modern look 'n feel. +- `hello-world`: A simple-as-possible example theme. +- New themes added weekly. + +## How It Works + +Each theme lives in a folder, e.g., `themes/informatic` or `themes/modern`. The folder contains individual template files assembled by the theme author. Each template can be used to generate a single type of output file such as HTML, Word, or PDF. Template files are named according to this scheme... + + [ OuputFormat ].[ InputFormat ] + +...where `[OuputFormat]` and `[InputFormat]` are both one of `html`, `pdf`, `md`, `txt`, `doc`, or `xml`. For example: + +- `html.html` = An HTML template used to generate an HTML document. +- `doc.xml` = An XML template used to generate an MS Word document. +- `pdf.html` = An HTML template used to generate a PDF document. +- `md.txt` = A text template used to generate a Markdown document. + +This scheme ensures that theme template files have the "correct" file extension when the theme author is working with them in an editor—if your source data is XML then the template file will have an `.xml` extension regardless of whether you're ultimately generating an HTML page or a PDF document *from* that XML. It also provides a declarative mapping between a given input format (say, XML) and a given output file type (say, a Word doc or spreadsheet). ## License -MIT. See [LICENSE.md][3] for details. +MIT. See [LICENSE.md][1] for details. [1]: http://fluentcv.com [2]: https://github.com/fluentdesk/fluentcmd -[3]: LICENSE.md +[3]: ../LICENSE.md diff --git a/themes/README.md b/themes/README.md deleted file mode 100644 index 05a8212..0000000 --- a/themes/README.md +++ /dev/null @@ -1,12 +0,0 @@ -themes -====== -Predefined template-based resume themes for FluentCV. - -- `minimist`: A no-frills theme. -- `informatic`: An informative theme for technical resumes. - -## License - -MIT. See [LICENSE.md][1] for details. - -[1]: ../LICENSE.md From eac06fb7a9f69ccaf070635eeecf090c410b08ae Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 17:53:59 -0400 Subject: [PATCH 4/5] Update file headers for "modern" theme. --- themes/modern/doc.xml | 7 +++++-- themes/modern/html.html | 7 ++++++- themes/modern/pdf.html | 7 ++++++- themes/modern/txt.txt | 5 ++++- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/themes/modern/doc.xml b/themes/modern/doc.xml index 6ef5154..232fd96 100644 --- a/themes/modern/doc.xml +++ b/themes/modern/doc.xml @@ -1,7 +1,10 @@ {# -An MS Word resume template for FluentCV's "informatic" theme. -Uses the MS Word 2003 XML format for widest compatibility. + + modern/doc.xml + An XML-driven Microsoft Word resume template for FluentCV's "modern" theme. + Uses the MS Word 2003 XML format. + #} diff --git a/themes/modern/html.html b/themes/modern/html.html index 5668b55..4383b66 100644 --- a/themes/modern/html.html +++ b/themes/modern/html.html @@ -1,5 +1,10 @@ -{# An HTML 5 resume template for FluentCV's "informatic" theme. #} +{# + + modern/md.txt + An HTML resume template for FluentCV's "modern" theme. + +#} diff --git a/themes/modern/pdf.html b/themes/modern/pdf.html index 2d7709f..307e9a6 100644 --- a/themes/modern/pdf.html +++ b/themes/modern/pdf.html @@ -1,5 +1,10 @@ -{# An HTML 5 PDF resume template for FluentCV's "informatic" theme. #} +{# + + modern/pdf.html + An HTML-driven PDF resume template for FluentCV's "modern" theme. + +#} diff --git a/themes/modern/txt.txt b/themes/modern/txt.txt index c9e1631..ad96ebb 100644 --- a/themes/modern/txt.txt +++ b/themes/modern/txt.txt @@ -1,5 +1,8 @@ {# -A plain TXT resume template for FluentCV's "informatic" theme. + + modern/txt.txt + A plain text resume template for FluentCV's "modern" theme. + #} {{ r.basics.name }} {% if (r.basics.email) { %}Email: {{ r.basics.email }}{% } %} From 39b33642b8cc02d2a0b17574a7b2e4343eca7970 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 21:49:56 -0400 Subject: [PATCH 5/5] Remove value judgment. --- themes/hello-world/doc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hello-world/doc.xml b/themes/hello-world/doc.xml index aa50ea0..f92ec7a 100644 --- a/themes/hello-world/doc.xml +++ b/themes/hello-world/doc.xml @@ -1,7 +1,7 @@ {# A simple-as-possible WORD/DOC template for the "Hello World" theme. -Uses the MS Word 2003 XML format for widest compatibility. +Uses the MS Word 2003 XML format. #}