Node.js based forum software built for the modern web
pulling meta info from OP not main_posts
psychobunny353b3047cd93
diff --git a/src/webserver.js b/src/webserver.jsindex 521cb2f10a..c9e790b010 100644--- a/src/webserver.js+++ b/src/webserver.js@@ -479,7 +479,7 @@ var path = require('path'),content: topicData.topic_name}, {name: "description",- content: sanitize(topicData.main_posts[0].content.substr(0, 255)).escape().replace('\n', '')+ content: sanitize(topicData.posts[0].content.substr(0, 255)).escape().replace('\n', '')}, {property: 'og:title',content: topicData.topic_name + ' | ' + (meta.config.title || 'NodeBB')@@ -491,10 +491,10 @@ var path = require('path'),content: nconf.get('url') + 'topic/' + topicData.slug}, {property: 'og:image',- content: topicData.main_posts[0].picture+ content: topicData.posts[0].picture}, {property: "article:published_time",- content: new Date(parseInt(topicData.main_posts[0].timestamp, 10)).toISOString()+ content: new Date(parseInt(topicData.posts[0].timestamp, 10)).toISOString()}, {property: 'article:modified_time',content: new Date(lastMod).toISOString()