Titelbilder und -beschriftungen fertiggestellt; Subseiten erstellt

This commit is contained in:
Sebastian Seedorf
2016-02-17 17:22:25 +01:00
parent 01f4a0cd49
commit 10db4c69bc
12 changed files with 61 additions and 18 deletions

12
main.js
View File

@@ -14,9 +14,17 @@ app.get('/', function(req, res) {
message: 'Hello there!'
});
});
app.get('/speisekarte', function(req, res) {
res.render('index', {
title: 'Restaurant Reiskorn | Home',
res.render('menu', {
title: 'Restaurant Reiskorn | Speisekarte',
message: 'Hello there!'
});
});
app.get('/kontakt', function(req, res) {
res.render('contact', {
title: 'Restaurant Reiskorn | Kontakt',
message: 'Hello there!'
});
});