Improve markdown support and tweak sponsorship langage
This commit is contained in:
parent
4c28ecf254
commit
2e817d8739
3 changed files with 10 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
- 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:description", content: plain_text(@conference.description) }
|
||||
%meta{ property: "og:url", content: conference_url(@conference.short_title) }
|
||||
%meta{ property: "twitter:title", content: (@conference.title) }
|
||||
%meta{ property: "twitter:description", content: @conference.description }
|
||||
%meta{ property: "twitter:description", content: plain_text(@conference.description) }
|
||||
- if @conference.picture?
|
||||
%meta{ property: "og:image", content: @image_url }
|
||||
%meta{ property: "og:image:secure_url", content: @image_url }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue