mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
Update w/ recent folder changes.
This commit is contained in:
parent
c54137a493
commit
0b4522c149
@ -78,10 +78,10 @@ module.exports = function () {
|
|||||||
var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0];
|
var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0];
|
||||||
var fOut = path.join( f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
|
var fOut = path.join( f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
|
||||||
console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
|
console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
|
||||||
var themeFile = path.join( __dirname, '../../blueprint/', _opts.theme,
|
var themeFile = path.join( __dirname, '../../watermark/', _opts.theme,
|
||||||
fName + '.' + (fObj.fmt || fObj.ext));
|
fName + '.' + (fObj.fmt || fObj.ext));
|
||||||
var cssData = (fName !== 'html' && fName !== 'pdf') ? null :
|
var cssData = (fName !== 'html' && fName !== 'pdf') ? null :
|
||||||
FS.readFileSync( path.join( __dirname, '../../blueprint/', _opts.theme, 'html.css' ), 'utf8' );
|
FS.readFileSync( path.join( __dirname, '../../watermark/', _opts.theme, 'html.css' ), 'utf8' );
|
||||||
var mk = FS.readFileSync( themeFile, 'utf8' );
|
var mk = FS.readFileSync( themeFile, 'utf8' );
|
||||||
|
|
||||||
// Compile and invoke the template
|
// Compile and invoke the template
|
||||||
|
Loading…
Reference in New Issue
Block a user