diff --git a/routes/index.js b/routes/index.js index 56b0b58..38f1a67 100644 --- a/routes/index.js +++ b/routes/index.js @@ -47,7 +47,7 @@ exports.index = function(req, res){ vehicles.push( { slug: $link.attr('href').replace(/\/vehicles\//,''), - name: $link.attr('title'), + name: $link.text(), img: host + $link.find('img').attr('src').split('?')[0] } );