Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (57 sloc) 3.34 KB
%head
%meta{charset: "utf-8"}
-# Prefetch...
-# %link{rel: "dns-prefetch", href: "//fonts.googleapis.com"}
-# %link{rel: "dns-prefetch", href: "//use.typekit.com"}
-# For more prefetch options see more_meta_tag_options.txt (in project root directory).
%meta{"http-equiv" => "x-ua-compatible", content: "ie=edge"}
-# Explanation...
-# https://github.com/h5bp/html5-boilerplate/blob/master/dist/doc/html.md#x-ua-compatible
-# Can setup in application.rb as follows:
-# http://chriszetter.com/blog/2013/10/04/setting-headers-in-rails-4/
-# config.action_dispatch.default_headers.merge!('X-UA-Compatible' => 'IE=edge')
%title= content_for?(:title) ? yield(:title) : "XXX"
-# Alternative title format.
-# %title= content_for?(:title) ? ("XXX - " + yield(:title)) : "XXX"
%meta{name: "description", content: ""}
-# For better search engine result page descriptions use the following:
-# - if content_for?(:description_tag)
-# %meta{name: "description", content: yield(:description_tag).strip}
-# - else
-# %meta{name: "description", content: "XXX"}
%meta{property: "og:locale", content: "en_US"}
%meta{property: "og:type", content: "website"}
%meta{property: "og:url", content: ""}
%meta{property: "og:site_name", content: ""}
%meta{property: "og:title", content: ""}
%meta{property: "og:description", content: ""}
%meta{property: "fb:admins", content: "name@domain.com"}
%meta{property: "og:image", content: "location_url"}
%meta{name: "twitter:card", content: "summary"}
%meta{name: "twitter:site", content: "@site_account"}
%meta{name: "twitter:url", content: "http://www.example.com/path/to/page.html"}
%meta{name: "twitter:title", content: ""}
%meta{name: "twitter:description", content: ""}
%meta{name: "twitter:image", content: "http://www.example.com/path/to/image.jpg"}
%meta{name: "twitter:creator", content: "@individual_account"}
%meta{itemprop: "name", content: ""}
%meta{itemprop: "url", content: ""}
%meta{itemprop: "description", content: ""}
-# For more meta tag options see more_meta_tag_options.txt (in project root directory).
-# %meta{name: "viewport", content: "width=device-width, initial-scale=1"}
-# Explanation...
-# https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html#//apple_ref/doc/uid/TP40006509-SW26
= favicon_link_tag '/favicon.ico'
-# %link{href: "animated_favicon.gif", rel: "icon", type: "image/gif"}
= favicon_link_tag '/apple-touch-icon.png', rel: 'apple-touch-icon', type: 'image/png'
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
-# For production customize modernizr at: http://www.modernizr.com/download/
= javascript_include_tag 'modernizr-2.8.3.min'
-# Google Web Fonts combination idea. Delete if you do not use.
%link{href: "http://fonts.googleapis.com/css?family=Droid+Serif", rel: "stylesheet", type: "text/css"}
%link{href: "http://fonts.googleapis.com/css?family=Droid+Sans", rel: "stylesheet", type: "text/css"}
-# Typekit script. Delete if you do not use.
-# %script{src: '//use.typekit.net/XXX.js', type: 'text/javascript'}
-# :javascript
-# try{Typekit.load();}catch(e){}
= csrf_meta_tags