From e45f9aece7617536486ffe407ff46d76015ee1ce Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 17:14:32 -0400 Subject: [PATCH] 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 }} +{% }); } %}