From 0b4522c149dc616c46da6d09ca938f96e26a781d Mon Sep 17 00:00:00 2001 From: devlinjd Date: Fri, 11 Sep 2015 17:21:44 -0400 Subject: [PATCH] Update w/ recent folder changes. --- src/scrappy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scrappy.js b/src/scrappy.js index 270e970..5e2a836 100644 --- a/src/scrappy.js +++ b/src/scrappy.js @@ -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