1
0
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:
devlinjd 2015-09-11 17:21:44 -04:00
parent c54137a493
commit 0b4522c149

View File

@ -78,10 +78,10 @@ module.exports = function () {
var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0];
var fOut = path.join( f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
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));
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' );
// Compile and invoke the template