Fixes an issue with canonical urls for sharing with Facebook and other social media sites
This commit is contained in:
parent
68594bd3cd
commit
06d7a762b4
2 changed files with 7 additions and 6 deletions
|
|
@ -1,9 +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') }
|
||||
%meta{ :property => "og:title", :content => @event.title }
|
||||
%meta{ :property => "og:url", :content => conference_program_proposal_url(@conference.short_title, @event) }
|
||||
%meta{ :property => "og:description", :content => @conference.description }
|
||||
%meta{ :property => "og:site_name", :content => (ENV['OSEM_NAME'] || 'OSEM') }
|
||||
- @conference[:picture]
|
||||
%meta{property: "og:image:secure_url", content: @conference.picture_url}
|
||||
|
||||
.container
|
||||
.row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue