diff --git a/bootstrap/WikiMacros.tpl b/bootstrap/WikiMacros.md similarity index 100% rename from bootstrap/WikiMacros.tpl rename to bootstrap/WikiMacros.md diff --git a/bootstrap/WikiPath.tpl b/bootstrap/WikiPath.md similarity index 100% rename from bootstrap/WikiPath.tpl rename to bootstrap/WikiPath.md diff --git a/make_bootstrap.js b/make_bootstrap.js index 04c8675..66839a0 100644 --- a/make_bootstrap.js +++ b/make_bootstrap.js @@ -12,11 +12,12 @@ var glob = require('glob') var bootstrap = {} -glob('bootstrap/**/*.tpl') +// XXX add support for json... +glob('bootstrap/**/*.@(tpl|md)') .on('match', function(path){ var p = path .replace('bootstrap/', '') - .replace('.tpl', '') + .replace(/.tpl|.md/, '') if(p)