added open graph meta data to conference#show
This commit is contained in:
parent
c48c8afa51
commit
a696d64458
2 changed files with 10 additions and 1 deletions
|
|
@ -1,8 +1,16 @@
|
||||||
|
- content_for :head do
|
||||||
|
%meta{ :property => 'og:title', :content => '#{@conference.title}' }
|
||||||
|
%meta{ :property => 'og:image', :content => '(@conference.picture_url)' }
|
||||||
|
%meta{ :property => 'og:url', :content => '(@conference.short_title)' }
|
||||||
|
%meta{ :property => 'og:description', :content => '(@conference.description)'}
|
||||||
|
%meta{ :property => 'og:site_name', :content => (ENV['OSEM_NAME'] || 'OSEM') }
|
||||||
|
- end
|
||||||
|
|
||||||
= content_for :title do
|
= content_for :title do
|
||||||
= @conference.title
|
= @conference.title
|
||||||
|
|
||||||
#splash
|
#splash
|
||||||
- if @conference.splashpage
|
- if @conference.splashpage}
|
||||||
#banner
|
#banner
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
|
|
|
||||||
|
|
@ -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"}
|
||||||
|
%meta= 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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue