1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 09:56:22 +00:00

Store theme folder reference.

This commit is contained in:
devlinjd 2015-11-05 00:56:06 -05:00
parent 61c7d6b8f9
commit 4752c3040e

View File

@ -31,6 +31,8 @@ Abstract theme representation.
return friendly[val] || val;
}
// Remember the theme folder; might be custom
this.folder = themeFolder;
var tplFolder = PATH.join( themeFolder, 'templates' );
var fmts = FS.readdirSync( tplFolder ).map( function( file ) {
var absPath = PATH.join( tplFolder, file );