diff --git a/app.js b/app.js index 9ece057..cf6beb2 100644 --- a/app.js +++ b/app.js @@ -75,7 +75,7 @@ app.use(function(err, req, res, next) { // render the error page res.status(err.status || 500); - res.render('error'); + res.render('error', {title:'Error'}); }); const port = 80; diff --git a/routes/main/1_0.js b/routes/main/1_0.js index ee9fbe2..4b0cfdb 100644 --- a/routes/main/1_0.js +++ b/routes/main/1_0.js @@ -3,7 +3,7 @@ var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { - res.render('main/1_0'); + res.render('main/1_0', {title:'Nikola Petrov'}); }); module.exports = router; diff --git a/routes/main/2_0.js b/routes/main/2_0.js index 60b8806..9230cec 100644 --- a/routes/main/2_0.js +++ b/routes/main/2_0.js @@ -3,7 +3,7 @@ var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { - res.render('main/2_0'); + res.render('main/2_0', {title:'Nikola Petrov'}); }); module.exports = router; \ No newline at end of file diff --git a/routes/movies/movieShow.js b/routes/movies/movieShow.js index 8548d67..a21926c 100644 --- a/routes/movies/movieShow.js +++ b/routes/movies/movieShow.js @@ -3,7 +3,7 @@ var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { - res.render('movies/show'); + res.render('movies/show', { title: 'Movies' }); }); module.exports = router; \ No newline at end of file diff --git a/views/error.hbs b/views/error.hbs index 9e2882d..3b7457b 100644 --- a/views/error.hbs +++ b/views/error.hbs @@ -1,17 +1,2 @@ - - -
- - - -2. Year RIT
-2. Year RIT
+Language |
---|
Slovenian |
English |
Programming languages |
---|
C/C++ |
html/css/js/php |
Language |
---|
Slovenian |
English |
Programming languages |
---|
C/C++ |
html/css/js/php |
+
+ 01/10/2021 - CURRENT
+ Koroška cesta 46, Maribor, Slovenia
+
+
+ Faculty of Electrical Engineering and Computer Science, University of Maribor
+
+
+ Graduate engineer of computer science and information technology
+
+
+
+
+ https://feri.um.si/
+
+
+
-
- 01/10/2021 - CURRENT
- Koroška cesta 46, Maribor, Slovenia
-
-
- Faculty of Electrical Engineering and Computer Science, University of Maribor
-
-
- Graduate engineer of computer science and information technology
-
-
-
-
- https://feri.um.si/
-
-
-
-
- 01/09/2016 - 07/07/2021
- Litostrojska Cesta 51, Ljubljana, Slovenia
-
-
- Secondary school of technical professions šiška
-
-
- Electrotechnician
-
-
-
-
- https://ssts.si/
-
-
-
+
+ 01/09/2016 - 07/07/2021
+ Litostrojska Cesta 51, Ljubljana, Slovenia
+
+
+ Secondary school of technical professions šiška
+
+
+ Electrotechnician
+
+
+
+
+ https://ssts.si/
+
+
+