A platform for community discussion. Free, open, simple.
FEATURE: Add type=website OpenGraph meta tag (#13376)
Rafael dos Santos Silvaf36ecf86f8bc
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rbindex 4972fa2c793..702f83ca5af 100644--- a/app/helpers/application_helper.rb+++ b/app/helpers/application_helper.rb@@ -237,6 +237,7 @@ module ApplicationHelper# Add opengraph & twitter tagsresult = []result << tag(:meta, property: 'og:site_name', content: SiteSetting.title)+ result << tag(:meta, property: 'og:type', content: 'website')if opts[:twitter_summary_large_image].present?result << tag(:meta, name: 'twitter:card', content: "summary_large_image")