Updated metatag code in conference#show.
This commit is contained in:
parent
a696d64458
commit
5cdf397b2f
1 changed files with 5 additions and 6 deletions
|
|
@ -1,16 +1,15 @@
|
||||||
- content_for :head do
|
- content_for :head do
|
||||||
%meta{ :property => 'og:title', :content => '#{@conference.title}' }
|
%meta{ :property => 'og:title', :content => @conference.title }
|
||||||
%meta{ :property => 'og:image', :content => '(@conference.picture_url)' }
|
%meta{ :property => 'og:image', :content => @conference.picture_url }
|
||||||
%meta{ :property => 'og:url', :content => '(@conference.short_title)' }
|
%meta{ :property => 'og:url', :content => conference_path(@conference.short_title) }
|
||||||
%meta{ :property => 'og:description', :content => '(@conference.description)'}
|
%meta{ :property => 'og:description', :content => @conference.description}
|
||||||
%meta{ :property => 'og:site_name', :content => (ENV['OSEM_NAME'] || 'OSEM') }
|
%meta{ :property => 'og:site_name', :content => (ENV['OSEM_NAME'] || 'OSEM') }
|
||||||
- end
|
|
||||||
|
|
||||||
= content_for :title do
|
= content_for :title do
|
||||||
= @conference.title
|
= @conference.title
|
||||||
|
|
||||||
#splash
|
#splash
|
||||||
- if @conference.splashpage}
|
- if @conference.splashpage
|
||||||
#banner
|
#banner
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue