Improved stcky footer, removed nav on unavailable locale pages, added facebook meta image

This commit is contained in:
Godwin
2016-07-01 18:17:04 -07:00
parent fe0c9bbfa6
commit 34b042c3c1
4 changed files with 31 additions and 1 deletions
+2
View File
@@ -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
+2
View File
@@ -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')
+2
View File
@@ -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' }