summaryrefslogtreecommitdiffstats
path: root/lib/output/website/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/website/index.js')
-rw-r--r--lib/output/website/index.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/output/website/index.js b/lib/output/website/index.js
new file mode 100644
index 0000000..2b7db73
--- /dev/null
+++ b/lib/output/website/index.js
@@ -0,0 +1,22 @@
+var util = require('util');
+var Output = require('../base');
+
+function WebsiteOutput() {
+ Output.apply(this, arguments);
+}
+util.inherits(WebsiteOutput, Output);
+
+// Copy an asset file
+WebsiteOutput.prototype.writeAsset = function(filename) {
+ return this.copyFile(
+ this.book.resolve(filename),
+ filename
+ );
+};
+
+// Write a page (parsable file)
+WebsiteOutput.prototype.writePage = function(page) {
+
+};
+
+module.exports = WebsiteOutput;