From b7af1f60ca66064c12e3182bb8c13e54032942b2 Mon Sep 17 00:00:00 2001 From: Tim Stallard Date: Thu, 7 Jan 2016 10:44:54 +0000 Subject: [PATCH] Switched to docpad.js (run with "docpad.cmd run" on windows) --- docpad.coffee => docpad.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename docpad.coffee => docpad.js (85%) diff --git a/docpad.coffee b/docpad.js similarity index 85% rename from docpad.coffee rename to docpad.js index 5b8a94f..485da96 100644 --- a/docpad.coffee +++ b/docpad.js @@ -1,4 +1,3 @@ -` // DocPad Configuration File // http://docpad.org/docs/config @@ -14,10 +13,10 @@ var docpadConfig = { var projects = this.getCollection("html").findAllLive({relativeOutDirPath: "projects"}); projects.on("add", function(model){ model.setMetaDefaults({ - layout: "page" + layout: "contentpage" }); }); - return this.getCollection("html").findAll({relativeOutDirPath: "projects"}); + return projects; } }, plugins: { @@ -28,4 +27,3 @@ var docpadConfig = { } module.exports = docpadConfig; -`