Skip to content

Commit

Permalink
Using media folder for client side resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikl committed Mar 15, 2012
1 parent 06aafd9 commit e0012a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ var outputData = {};
// Prepare for markup output.
// Collect static assets and precompile templates.
var prepareOutput = function () {
var templateFile = path.join(__dirname, '..', 'templates', 'index.jade');
var mediaPath = path.join(__dirname, '..', 'media'),
templateFile = path.join(mediaPath, 'templates', 'index.jade');

outputData.pageTemplate = jade.compile(fs.readFileSync(templateFile, 'utf-8'));
};
Expand Down
File renamed without changes.

0 comments on commit e0012a4

Please sign in to comment.