From 5cdf397b2f54a3982099d8815f16bd80558f87b8 Mon Sep 17 00:00:00 2001 From: Sherri Mitchell Date: Fri, 9 Sep 2016 09:32:07 -0400 Subject: [PATCH] Updated metatag code in conference#show. --- app/views/conference/show.html.haml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/conference/show.html.haml b/app/views/conference/show.html.haml index f3b0cfe2..9ec9781f 100644 --- a/app/views/conference/show.html.haml +++ b/app/views/conference/show.html.haml @@ -1,16 +1,15 @@ - 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: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') } - - end = content_for :title do = @conference.title #splash - - if @conference.splashpage} + - if @conference.splashpage #banner .container .row