mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
Add {{styleSheet}} helper (placeholder).
This commit is contained in:
parent
22554c61c5
commit
d4e0a0fa05
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
Generic template helper definitions for FluentCV.
|
Generic template helper definitions for HackMyResume / FluentCV.
|
||||||
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
|
@license MIT. See LICENSE.md for details.
|
||||||
@module generic-helpers.js
|
@module generic-helpers.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -114,6 +114,14 @@ Generic template helper definitions for FluentCV.
|
|||||||
if (lhs || rhs) return options.fn(this);
|
if (lhs || rhs) return options.fn(this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
Conditional stylesheet link. Either display the link or embed the stylesheet
|
||||||
|
via <style></style> tag.
|
||||||
|
*/
|
||||||
|
styleSheet: function( file ) {
|
||||||
|
return '<link href="' + file + '" rel="stylesheet" type="text/css">';
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Perform a generic comparison.
|
Perform a generic comparison.
|
||||||
See: http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates
|
See: http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates
|
||||||
|
Loading…
Reference in New Issue
Block a user