From 07f85e3ed76d3760afb4ea4e984579fb70cab99e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 5 Nov 2015 19:26:28 -0500 Subject: populate hub view --- StoneIsland/www/js/lib/blogs/HubView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/blogs/HubView.js') diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index 717fdd23..d44ce7c8 100644 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -22,9 +22,9 @@ var HubView = View.extend({ this.$content.empty() // id date subtitle body link image[uri caption] this.data.forEach(function(row){ - var t = this.template.replace(/{{image}}/, row.images[0].uri) + console.log(row) + var t = this.template.replace(/{{image}}/, row.image[0].uri) .replace(/{{date}}/, row.date) - .replace(/{{code}}/, row.code) .replace(/{{title}}/, row.title) .replace(/{{subtitle}}/, row.subtitle) .replace(/{{link}}/, row.link) -- cgit v1.2.3-70-g09d2