summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Fridman <fridman@mail.sfsu.edu>2015-04-06 14:41:31 -0400
committerSean Fridman <fridman@mail.sfsu.edu>2015-04-06 15:27:54 -0400
commit37d5adf48c9c1b3ee326b631828732927797ca4f (patch)
tree238065e667385df6fe082a7b0730cce3665d104f
parente3812a56bd699fc9ded7ac66d820c4a4ac845b23 (diff)
Move default template location to templates/
-rw-r--r--app/node_modules/oktemplate/index.js2
-rw-r--r--examples/templates/index.mustache (renamed from examples/www/index.mustache)0
-rw-r--r--examples/templates/page.mustache (renamed from examples/www/page.mustache)0
-rw-r--r--examples/templates/project.mustache (renamed from examples/www/project.mustache)0
4 files changed, 1 insertions, 1 deletions
diff --git a/app/node_modules/oktemplate/index.js b/app/node_modules/oktemplate/index.js
index 8a725de..502d2cf 100644
--- a/app/node_modules/oktemplate/index.js
+++ b/app/node_modules/oktemplate/index.js
@@ -9,7 +9,7 @@ var liquid = new LiquidEngine();
*/
function OKTemplateRepo(options) {
options = options || {};
- this._root = options.root || 'www';
+ this._root = options.root || 'templates';
this._ext = options.ext || '.mustache';
this._cache = {};
this._populateCache(this._cache);
diff --git a/examples/www/index.mustache b/examples/templates/index.mustache
index 9933064..9933064 100644
--- a/examples/www/index.mustache
+++ b/examples/templates/index.mustache
diff --git a/examples/www/page.mustache b/examples/templates/page.mustache
index f7d899f..f7d899f 100644
--- a/examples/www/page.mustache
+++ b/examples/templates/page.mustache
diff --git a/examples/www/project.mustache b/examples/templates/project.mustache
index dac1d8d..dac1d8d 100644
--- a/examples/www/project.mustache
+++ b/examples/templates/project.mustache