Verified Commit d0c9b6ff authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix my weird naming choices

parent 135b3176
...@@ -11,11 +11,11 @@ var app = express(); ...@@ -11,11 +11,11 @@ var app = express();
app.set( 'view engine', 'handlebars' ); app.set( 'view engine', 'handlebars' );
app.engine( 'handlebars', handlebars( { app.engine( 'handlebars', handlebars( {
defaultLayout: __dirname + '/render/templates/main.handlebars', defaultLayout: __dirname + '/views/layouts/main.handlebars',
partialsDir: __dirname + '/render/partials', partialsDir: __dirname + '/views/partials',
layoutsDir: __dirname + '/render/templates' layoutsDir: __dirname + '/views/layouts'
} ) ); } ) );
app.set( 'views', __dirname + '/render' ); app.set( 'views', __dirname + '/views' );
app.use( minifyHTML( { app.use( minifyHTML( {
override: true, override: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment