summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/HubView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
-rw-r--r--StoneIsland/www/js/lib/blogs/HubView.js4
1 files changed, 2 insertions, 2 deletions
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)