Browse files

Remove the need to symlink to the twitter bootstrap artifact

  • Loading branch information...
1 parent dfc5e49 commit ea0ab47281658f432ee7540b4af036d39600f70b @ciaranj committed Jul 21, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 app.js
  2. +2 −2 views/includes/cssincludes.jade
View
2 app.js
@@ -15,7 +15,9 @@ app.configure(function(){
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(require('less-middleware')({ src: __dirname + '/public' }));
+ app.use(require('less-middleware')({ src: __dirname + '/vendor/bootstrap/less' }));
app.use(express.static(__dirname + '/public'));
+ app.use(express.static(__dirname + '/vendor/bootstrap/less'));
app.use(app.router);
});
View
4 views/includes/cssincludes.jade
@@ -1,2 +1,2 @@
-link(rel='stylesheet', href='/bootstrap/less/bootstrap.css')
-link(rel='stylesheet', href='/stylesheets/styles.css')
+link(rel='stylesheet', href='bootstrap.css')
+link(rel='stylesheet', href='/stylesheets/styles.css')

0 comments on commit ea0ab47

Please sign in to comment.