diff --git a/blog/renderBlogPost.js b/blog/renderBlogPost.js index 42d62bf..420d81f 100644 --- a/blog/renderBlogPost.js +++ b/blog/renderBlogPost.js @@ -46,7 +46,7 @@ module.exports= generateBlogPostHeader: function(post) { if(post.picture_url !== "n/a") - post. hasPicture = true; + post.hasPicture = true; post.published = post.published.toDateString(); return; @@ -69,8 +69,9 @@ module.exports= { module.exports.generateBlogPostComponent(category[0].url, post.url, blocks).then(function(html) { - post.blogBody = html; - resolve(); + post.categoryURL = category[0].url; + post.blogBody = html; + resolve(); }); }); }) @@ -148,14 +149,6 @@ module.exports= { html += "
" + htmlBlocks[i]; } - - html += "
+ Read More » +
+ {/if}