diff --git a/routes/album.js b/routes/album.js index 4fbb971..2c084b4 100644 --- a/routes/album.js +++ b/routes/album.js @@ -51,7 +51,7 @@ routes.get('/a/:identifier', (req, res, next) => { layout: false, title: title, count: files.length, - thumb: files[0]. + thumb, files }) }).catch(function(error) { console.log(error); res.json({ success: false, description: 'error' }) }) diff --git a/views/album.handlebars b/views/album.handlebars index 60fa0e9..5f67b0b 100644 --- a/views/album.handlebars +++ b/views/album.handlebars @@ -21,14 +21,14 @@ - - + + - - + +