Added different favicons for each environment and cleaned up files

This commit is contained in:
Godwin
2016-08-06 21:37:32 -07:00
parent 94433dde28
commit cb1ec59b8d
54 changed files with 8 additions and 6870 deletions
+3 -5
View File
@@ -8,8 +8,8 @@
%meta{ name: 'description', content: (yield_or_default :description, I18n.t('page_descriptions.home')) }
= csrf_meta_tags
= stylesheets
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }
%link{ href: asset_path(@favicon), rel: 'shortcut icon', type: 'image/x-icon' }
%link{ href: asset_path(@favicon), 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)
@@ -18,15 +18,13 @@
%meta{property: 'og:title', content: title}
%meta{property: 'og:type', content: 'website'}
%meta{property: 'og:image', content: og_image}
%meta{name: "theme-color", content: @theme_colour}
= yield :head
%body{ class: page_style }
#primary-content
= render 'shared/navbar'
%main#main
- if content_for?(:side_bar)
%nav#side-bar
= yield :side_bar
%header#banner=yield :banner
- if @submenu
=row do