Add open graph metadata to event#show
This commit is contained in:
parent
c48c8afa51
commit
68594bd3cd
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
- 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_path(@conference.short_title) }
|
||||
%meta{ :property => 'og:description', :content => @conference.description }
|
||||
%meta{ :property => 'og:site_name', :content => (ENV['OSEM_NAME'] || 'OSEM') }
|
||||
|
||||
.container
|
||||
.row
|
||||
.col-md-12.page-header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue