diff --git a/app/views/conferences/show.html.haml b/app/views/conferences/show.html.haml index 90a9b4eb..fb488e22 100644 --- a/app/views/conferences/show.html.haml +++ b/app/views/conferences/show.html.haml @@ -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 = @conference.title