mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-07-06 18:21:06 +01:00
Compare commits
17 Commits
v0.15.0-be
...
v0.16.0-be
Author | SHA1 | Date | |
---|---|---|---|
2c3763248d | |||
aca092f5d1 | |||
9e4cae697b | |||
f8e0cb24dd | |||
0fd6b593fa | |||
0d46a2d402 | |||
51c8451137 | |||
2b8e81d11c | |||
d975a8cc6b | |||
57e4f26d20 | |||
9a4a386901 | |||
a9989d94b6 | |||
21de6997a3 | |||
3cbbc36818 | |||
f06f82a34f | |||
01cfdb00e0 | |||
cdbb030389 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
# It is pitch black. You are likely to be eaten by a grue.
|
||||
informatic-new/
|
||||
assets/
|
||||
|
19
index.js
Normal file
19
index.js
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
Mount individual themes onto the module object for convenience.
|
||||
@module index.js
|
||||
@license MIT. See LICENSE.md for details.
|
||||
*/
|
||||
|
||||
(function(){
|
||||
|
||||
module.exports = {
|
||||
themes: {
|
||||
awesome: require('./themes/awesome/theme.json'),
|
||||
basis: require('./themes/basis/theme.json'),
|
||||
compact: require('./themes/compact/theme.json'),
|
||||
modern: require('./themes/modern/theme.json'),
|
||||
positive: require('./themes/positive/theme.json')
|
||||
}
|
||||
};
|
||||
|
||||
}());
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "fresh-themes",
|
||||
"version": "0.15.0-beta",
|
||||
"version": "0.16.0-beta",
|
||||
"description": "Multiformat themes and templates for your résumé / CV.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fluentdesk/fresh-themes.git"
|
||||
},
|
||||
"main": "README.md",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
"résumé",
|
||||
"resume",
|
||||
|
@ -31,7 +31,7 @@
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FromTo"/>
|
||||
</w:rPr>
|
||||
<w:t>{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY'}}</w:t>
|
||||
<w:t>{{dateRange . 'YYYY'}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
{{#either area studyType }}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FromTo"/>
|
||||
</w:rPr>
|
||||
<w:t>{{formatDate safe.date 'YYYY-MM'}}</w:t>
|
||||
<w:t>{{date date}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
|
@ -34,7 +34,7 @@
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FromTo"/>
|
||||
</w:rPr>
|
||||
<w:t>{{formatDate safe.start 'MMM YYYY'}} — {{formatDate safe.end 'MMM YYYY'}}</w:t>
|
||||
<w:t>{{dateRange . 'MMM YYYY'}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
|
@ -31,7 +31,7 @@
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FromTo"/>
|
||||
</w:rPr>
|
||||
<w:t>{{formatDate safe.date 'YYYY-MM'}}</w:t>
|
||||
<w:t>{{date date}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
|
@ -30,7 +30,7 @@
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FromTo"/>
|
||||
</w:rPr>
|
||||
<w:t>{{formatDate safe.date 'YYYY'}}</w:t>
|
||||
<w:t>{{date date 'YYYY'}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
{{#if summary}}
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{#> body-interests }}
|
||||
<div>
|
||||
<h3><em>{{{ name }}}</em></h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
||||
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
</div>
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{#> body-reading }}
|
||||
<div>
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>{{#if author}}, {{{ author }}}{{/if}}</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
|
||||
<span class="tenure">{{date date 'YYYY'}}</span>
|
||||
{{{ summary }}}
|
||||
</div>
|
||||
{{/body-reading}}
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{#> body-recognition }}
|
||||
<div>
|
||||
<h3><em>{{ title }}</em>, {{{link from url }}}</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
||||
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
</div>
|
||||
|
@ -14,7 +14,7 @@
|
||||
{{ title }}
|
||||
{{/if}}
|
||||
</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY-MM'}}</span>
|
||||
<span class="tenure">{{date date 'YYYY-MM'}}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
</div>
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{#> body-speaking }}
|
||||
<div>
|
||||
<h3><em>{{{ title }}}</em>, {{{ event }}}</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
||||
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div>
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||
{{ publisher.name }}</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
|
||||
<span class="tenure">{{date date 'YYYY'}}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
</div>
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
{{#each r.employment.history }}
|
||||
{{#if url}}
|
||||
### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{dateRange .}})
|
||||
{{else}}
|
||||
### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
### *{{{ position }}}*, {{{ employer }}} ({{dateRange .}})
|
||||
{{/if}}
|
||||
|
||||
{{{ summary }}}
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
{{#each r.projects }}
|
||||
{{#if url }}
|
||||
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{dateRange .}})
|
||||
{{else}}
|
||||
### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
### *{{{camelCase role }}}*, {{{ title }}} ({{dateRange .}})
|
||||
{{/if}}
|
||||
|
||||
{{{ description }}}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
{{#each r.recognition}}
|
||||
### {{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
||||
{{~#has 'safe.date'}} ({{formatDate safe.date 'MMM YYYY' }}){{/has}}
|
||||
{{~#if date}} ({{date date 'MMM YYYY' }}){{/if}}
|
||||
{{~#if summary}}
|
||||
|
||||
{{{ summary }}}{{/if}}
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
{{#each r.samples }}
|
||||
{{#if url}}
|
||||
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
|
||||
### [{{{ title }}}]({{{ url }}}) ({{date date}})
|
||||
{{else}}
|
||||
### {{{ title }}} ({{formatDate safe.date}})
|
||||
### {{{ title }}} ({{date date}})
|
||||
{{/if}}
|
||||
|
||||
{{{ summary }}}
|
||||
|
@ -2,7 +2,7 @@
|
||||
## {{{sectionTitle "SPEAKING"}}}
|
||||
|
||||
{{#each r.speaking}}
|
||||
### *{{{ title }}}*, {{{ event }}} ({{formatDate safe.date 'YYYY'}})
|
||||
### *{{{ title }}}*, {{{ event }}} ({{date date 'YYYY'}})
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
{{#each r.writing}}
|
||||
{{#if url}}
|
||||
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
|
||||
### [{{{ title }}}]({{{ url }}}) ({{date date}})
|
||||
{{else}}
|
||||
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
|
||||
### {{{ title }}} ({{date date}})
|
||||
{{/if}}
|
||||
|
||||
{{{ summary }}}
|
||||
|
@ -7,7 +7,7 @@
|
||||
{{/if}}
|
||||
{{#if summary }}{{{ summary }}}
|
||||
{{/if}}
|
||||
{{#if date}}{{{ date }}}
|
||||
{{#if date}}{{{date date }}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
{{#each r.recognition}}
|
||||
{{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
||||
{{~#has 'safe.date'}} ({{formatDate safe.date 'MMM YYYY' }}){{/has}}
|
||||
{{~#if date}} ({{date date 'MMM YYYY' }}){{/if}}
|
||||
{{~#if summary}}
|
||||
|
||||
{{{ summary }}}{{/if}}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{{sectionTitle "SAMPLES"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.samples }}
|
||||
{{{ title }}} ({{formatDate safe.date 'YYYY-MM'}})
|
||||
{{{ title }}} ({{date date}})
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
|
@ -2,6 +2,6 @@
|
||||
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
|
||||
|
||||
{{#each r.skills.sets}}
|
||||
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
|
||||
- {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
@ -2,7 +2,7 @@
|
||||
## {{{sectionTitle "SPEAKING"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.speaking}}
|
||||
*{{{ title }}}*, {{{ event }}} ({{formatDate safe.date 'YYYY'}})
|
||||
*{{{ title }}}*, {{{ event }}} ({{date date 'YYYY'}})
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.writing}}
|
||||
{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}}
|
||||
{{{ title }}}{{#if date}} ({{date date}}){{/if}}
|
||||
{{#if summary}}{{{ summary }}}
|
||||
{{/if}}
|
||||
|
||||
|
@ -52,7 +52,7 @@ fork of the original Awesome-CV for LaTeX.
|
||||
See the original project for license information.
|
||||
|
||||
[awe]: https://github.com/posquit0/Awesome-CV
|
||||
[hmr]: http://please.hackmyresume.com
|
||||
[hmr]: https://fluentdesk.com/hackmyresume
|
||||
[fre]: http://freshstandard.org
|
||||
[und]: http://underscorejs.org/#template
|
||||
[hb350]: https://github.com/wycats/handlebars.js/issues/350
|
||||
|
@ -71,7 +71,7 @@
|
||||
% To support LaTeX quoting style
|
||||
\defaultfontfeatures{Ligatures=TeX}
|
||||
% Needed to manage math fonts
|
||||
\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}
|
||||
\RequirePackage[math-style=TeX]{unicode-math}
|
||||
% Needed to use icons from font-awesome
|
||||
% (https://github.com/posquit0/latex-fontawesome)
|
||||
\RequirePackage{fontawesome}
|
||||
|
@ -52,7 +52,7 @@
|
||||
% Comment any of the lines below if they are not required
|
||||
%-------------------------------------------------------------------------------
|
||||
\name{[~ print(h.initialWords( r.name )) ~]}{[[ h.lastWord( r.name ) ]]}
|
||||
\position{[[ r.info.label ]]}
|
||||
[~ if (r.info.label) { ~]\position{[[ r.info.label ]]}[~ } ~]
|
||||
\address{[[ r.location.address ]]}
|
||||
|
||||
\mobile{[[ r.contact.phone ]]}
|
||||
|
32
themes/basis/helpers/sample-helpers.js
Normal file
32
themes/basis/helpers/sample-helpers.js
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
/**
|
||||
Sample helper definitions for HackMyResume's "basis" example theme.
|
||||
@license MIT. See LICENSE.md for details.
|
||||
@module themes/basis/helpers/sample-helpers
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
// Block helper function definitions.
|
||||
var SampleHelpers = module.exports = {
|
||||
|
||||
// A sample helper that returns the supplied value.
|
||||
helperA: function(someVal, options) {
|
||||
return someVal;
|
||||
},
|
||||
|
||||
// Another sample helper that returns the supplied value.
|
||||
helperB: function(title, options) {
|
||||
return title;
|
||||
},
|
||||
|
||||
// A sample block helper
|
||||
helperC: function(lhs, rhs, options) {
|
||||
if (lhs || rhs) {
|
||||
return options.fn(this);
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}).call(this);
|
@ -3,5 +3,6 @@
|
||||
"description": "A theme that is a basis for other themes.",
|
||||
"author": "hacksalot <hacksalot@indevious.com> (https://github.com/hacksalot)",
|
||||
"engine": "handlebars",
|
||||
"message": "This theme contains default unstyled formats that can be used by other themes or as a starting point for a custom theme."
|
||||
"message": "This theme contains default unstyled formats that can be used by other themes or as a starting point for a custom theme.",
|
||||
"helpers": ["helpers/*.js"]
|
||||
}
|
||||
|
@ -90,9 +90,9 @@
|
||||
engine settings, but ((#has 'contact.email')) never will.
|
||||
--> }}
|
||||
<div id="contact">
|
||||
{{#has r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
|
||||
{{#has r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
|
||||
{{#has r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
|
||||
{{#has 'contact.email'}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
|
||||
{{#has 'contact.phone'}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
|
||||
{{#has 'contact.website'}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
@ -90,9 +90,9 @@
|
||||
engine settings, but ((#has 'contact.email')) never will.
|
||||
--> }}
|
||||
<div id="contact">
|
||||
{{#has r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
|
||||
{{#has r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
|
||||
{{#has r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
|
||||
{{#has 'contact.email'}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/has}}
|
||||
{{#has 'contact.phone'}}<div class="phone">{{ RAW.contact.phone }}</div>{{/has}}
|
||||
{{#has 'contact.website'}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{ RAW.contact.website }}</a></div>{{/has}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
Reference in New Issue
Block a user