From f0a22be731ee73cb41d03577f6a28d517227ff1e Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sat, 19 Dec 2015 08:39:36 -0500 Subject: [PATCH] Skip underscore-prefixed folders during theme load. --- src/core/theme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/theme.js b/src/core/theme.js index 06d153b..2a71a2e 100644 --- a/src/core/theme.js +++ b/src/core/theme.js @@ -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 ) {