FEATURE: add opengraph and twitter meta tags on every page

This commit is contained in:
Arpit Jalan
2016-08-19 17:04:43 +05:30
parent 0a1d7896bf
commit a39929d12e
6 changed files with 22 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class TopicView
# show poster avatar
@desired_post.user.avatar_template_url.gsub("{size}", "100") if @desired_post.user
else
@topic.image_url || SiteSetting.default_opengraph_image_url
@topic.image_url
end
end