Improved stcky footer, removed nav on unavailable locale pages, added facebook meta image
This commit is contained in:
@@ -16,3 +16,5 @@
|
||||
= row do
|
||||
= columns do
|
||||
%h1=_(@main_title || "page_titles.#{page_group.to_s}.#{page_key.to_s}", :t, @main_title_vars)
|
||||
- content_for :og_image do
|
||||
= image
|
||||
|
||||
@@ -6,3 +6,5 @@
|
||||
.secondary
|
||||
= date_span(@conference.start_date.to_date, @conference.end_date.to_date)
|
||||
%img{src: @conference.poster.full.url || image_path('default_poster.jpg'), role: :presentation, alt: ''}
|
||||
- content_for :og_image do
|
||||
= @conference.poster.full.url || image_path('default_poster.jpg')
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }
|
||||
- @alt_lang_urls.each do |locale, url|
|
||||
%link{ rel: :alternate, hreflang: locale, href: url }
|
||||
- if content_for?(:og_image)
|
||||
%meta{property: 'og:image', content: (yield :og_image)}
|
||||
-#%link{ href: asset_path('apple-touch-icon.png'), rel: 'apple-touch-icon' }
|
||||
-#%link{ href: asset_path('apple-touch-icon-72x72.png'), rel: 'apple-touch-icon', sizes: '72x72' }
|
||||
-#%link{ href: asset_path('apple-touch-icon-114x114.png'), rel: 'apple-touch-icon', sizes: '114x114' }
|
||||
|
||||
Reference in New Issue
Block a user