Open graph displaying incorrect language bug (#2836)

* Open graph displaying incorrect language bug

* Cleaning and Fixes
This commit is contained in:
Hadi Cheaito
2021-07-13 10:04:59 -04:00
committed by GitHub
parent e082cd2b85
commit d53cfc0c50
2 changed files with 9 additions and 3 deletions

View File

@ -31,6 +31,7 @@
<title><%= yield(:page_title).present? ? yield(:page_title) : t("bigbluebutton") %></title>
<meta property="og:title" content="<%= yield(:page_title).present? ? yield(:page_title) : t("bigbluebutton") %>" />
<meta property="og:type" content="website" />
<meta property="og:locale" content=<%=user_locale(@room&.owner)%> />
<meta property="og:description" content="<%= yield(:page_desc).present? ? yield(:page_desc) : t("landing.about", href: "Greenlight", locale: :en) %>" />
<meta property="og:url" content="<%= request.base_url %>" />
<meta property="og:image" content="<%= logo_image %>" />