mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-25 01:22:19 +00:00
Minor changes
This commit is contained in:
parent
58c9e84f78
commit
db2ba0684b
4
app.js
4
app.js
@ -25,11 +25,13 @@ app.use(sassMiddleware({
|
||||
}));
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
|
||||
app.disable('x-powered-by');
|
||||
|
||||
app.use('/', indexRouter);
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
app.use(function(req, res, next) {
|
||||
next(createError(404));
|
||||
next(createError(404);
|
||||
});
|
||||
|
||||
// error handler
|
||||
|
@ -1,6 +1,5 @@
|
||||
$(document).ready(function () {
|
||||
$('.ham-button').on('click', function () {
|
||||
|
||||
$('.ham').toggleClass('open');
|
||||
});
|
||||
});
|
@ -3,7 +3,7 @@ var router = express.Router();
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function(req, res, next) {
|
||||
res.render('index', { title: 'Express' });
|
||||
res.render('index', { title: 'Home', description: "Hello, I'm Esther" });
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
Loading…
Reference in New Issue
Block a user