commit
22a3f614a3
2 changed files with 17 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
||||||
|
- content_for :head do
|
||||||
|
%meta{ property: "og:title", content: @conference.title }
|
||||||
|
%meta{ property: "og:site_name", content: (ENV['OSEM_NAME'] || 'OSEM') }
|
||||||
|
%meta{ property: "og:description", content: @conference.description }
|
||||||
|
%meta{ property: "og:url", content: conference_url(@conference.short_title) }
|
||||||
|
- if @conference.picture?
|
||||||
|
%meta{ property: "og:image", content: @conference.picture_url }
|
||||||
|
%meta{ property: "og:image:secure_url", content: @conference.picture_url }
|
||||||
|
|
||||||
= content_for :title do
|
= content_for :title do
|
||||||
= @conference.title
|
= @conference.title
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
- content_for :head do
|
||||||
|
%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: @event.abstract }
|
||||||
|
%meta{ property: "og:site_name", content: (ENV['OSEM_NAME'] || 'OSEM') }
|
||||||
|
%meta{ property: "og:image", content: @speaker.gravatar_url }
|
||||||
|
%meta{ property: "og:image:secure_url", content: @speaker.gravatar_url }
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.col-md-12.page-header
|
.col-md-12.page-header
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue