diff --git a/routes/index.js b/routes/index.js index a1329c1..7fdde63 100644 --- a/routes/index.js +++ b/routes/index.js @@ -4,5 +4,6 @@ var router = express.Router(); /* GET home page. */ router.get('/', (req, res) => res.render('index')); router.use('/subito', require('./tor')); +router.use('/metadata', require('./metadata')); module.exports = router; diff --git a/routes/metadata.js b/routes/metadata.js new file mode 100644 index 0000000..4f75cc9 --- /dev/null +++ b/routes/metadata.js @@ -0,0 +1,9 @@ +var express = require('express'); +var router = express.Router(); + +router.get('/', (req, res) => { + res.render('metadata'); +}); + + +module.exports = router; diff --git a/views/metadata.pug b/views/metadata.pug new file mode 100644 index 0000000..b099173 --- /dev/null +++ b/views/metadata.pug @@ -0,0 +1,7 @@ +extends layout + +block content + p. + Non male per una principiante no? Iniziavo a prendere fiducia e a pensare di + potermela cavare da sola... + diff --git a/views/torok.pug b/views/torok.pug index 09dfac1..fcd7d22 100644 --- a/views/torok.pug +++ b/views/torok.pug @@ -14,4 +14,6 @@ block content Comunque ero curiosa di vedere se c'erano altre informazioni nella foto e quindi mi misi a cercare un programma per vedere questi famosi metadati. + img(src="/img/kriptonite.jpg") +