mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-27 23:37:22 +00:00
Skip underscore-prefixed folders during theme load.
This commit is contained in:
parent
ade60022fd
commit
f0a22be731
@ -100,6 +100,7 @@ Definition of the Theme class.
|
||||
var outFmt = '', isMajor = false;
|
||||
var portion = pathInfo.dir.replace(tplFolder,'');
|
||||
if( portion && portion.trim() ) {
|
||||
if( portion[1] === '_' ) return;
|
||||
var reg = /^(?:\/|\\)(html|latex|doc|pdf|partials)(?:\/|\\)?/ig;
|
||||
var res = reg.exec( portion );
|
||||
if( res ) {
|
||||
|
Loading…
Reference in New Issue
Block a user