1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-07-06 10:11:05 +01:00

Compare commits

..

13 Commits

Author SHA1 Message Date
2c3763248d chore: bump version to 0.16.0-beta 2018-02-01 09:30:00 -05:00
aca092f5d1 chore: mount themes on module object 2018-02-01 09:28:13 -05:00
9e4cae697b chore: merge master > dev 2018-02-01 09:22:09 -05:00
f8e0cb24dd feat: intro sample custom helpers in 'basis' theme 2018-02-01 02:33:26 -05:00
0fd6b593fa Modern: Fix contact info in PDF resume. 2018-01-25 18:32:34 -05:00
0d46a2d402 Merge pull request #54 from ben-e-whitney/unicode-math
Delete removed `unicode-math` option.
2018-01-24 22:50:59 -05:00
51c8451137 Merge pull request #56 from ben-e-whitney/position-definition
Awesome: Avoid LaTeX error when label is undefined.
2018-01-24 22:44:20 -05:00
2b8e81d11c Merge pull request #51 from jonathonlui/master
Fixed the #has usage in contact section of the modern theme
2018-01-24 22:36:41 -05:00
d975a8cc6b Use secure HackMyResume URL. 2018-01-24 21:39:48 -05:00
57e4f26d20 Awesome: avoid LaTeX error with undefined label. 2018-01-03 12:27:25 -05:00
9a4a386901 Delete removed unicode-math option.
See <https://www.ctan.org/ctan-ann/id/
mailman.2585.1485610970.17497.ctan-ann@ctan.org>.
2017-09-22 18:23:33 -04:00
a9989d94b6 Fixed #has in modern-pdf.html 2016-05-31 17:46:45 -07:00
21de6997a3 Fixed {{#has }} usage 2016-05-31 17:41:54 -07:00
9 changed files with 64 additions and 12 deletions

19
index.js Normal file
View 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')
}
};
}());

View File

@ -1,12 +1,12 @@
{
"name": "fresh-themes",
"version": "0.15.1-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",

View File

@ -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

View File

@ -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}

View File

@ -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 ]]}

View 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);

View File

@ -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"]
}

View File

@ -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>

View File

@ -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>