From 338e827f1355b5ba76e852e64a0a25f3f842597d Mon Sep 17 00:00:00 2001 From: Pitu <7425261+Pitu@users.noreply.github.com> Date: Wed, 20 Sep 2017 03:05:25 -0300 Subject: [PATCH] Added thumbnail to meta tags --- routes/album.js | 2 +- views/album.handlebars | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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 @@ - - + + - - + +