This commit is contained in:
Sherri Mitchell 2016-09-29 12:23:05 +00:00 committed by GitHub
commit aa60b76d08
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
- content_for :head do
%meta{ :property => "og:title", :content => @conference.title }
%meta{ :property => "og:site_name", :content => (ENV['OSEM_NAME'] || 'OSEM') }
- @conference[:picture]
%meta{property: "og:image:secure_url", content: @conference.picture_url}
%meta{ :property => "og:description", :content => @conference.description }
%meta{ :property => "og:url", :content => @conference.short_title }
= content_for :title do = content_for :title do
= @conference.title = @conference.title

View file

@ -5,6 +5,7 @@
%title= content_for?(:title) ? yield(:title) : (ENV['OSEM_NAME'] || 'OSEM') %title= content_for?(:title) ? yield(:title) : (ENV['OSEM_NAME'] || 'OSEM')
%meta{:content => "", :name => "description"} %meta{:content => "", :name => "description"}
%meta{:content => "", :name => "author"} %meta{:content => "", :name => "author"}
= content_for?(:head) ? yield(:head) : ('')
= stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application" = javascript_include_tag "application"