1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-10 15:57:07 +01:00

Support global theme partials (interim).

This commit is contained in:
hacksalot
2016-01-06 10:48:51 -05:00
parent bc9f0d468f
commit 712b504168
4 changed files with 57 additions and 4 deletions

View File

@ -307,6 +307,7 @@ Implementation of the 'generate' verb for HackMyResume.
function verify_theme( themeNameOrPath ) {
var tFolder = PATH.join(
parsePath ( require.resolve('fresh-themes') ).dirname,
'/themes/',
themeNameOrPath
);
var exists = require('path-exists').sync;