Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (52 sloc) 3.73 KB
%head
%meta{charset: "utf-8"}
%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{name: "HandheldFriendly", content: "True"}
%meta{name: "MobileOptimized", content: "320"}
%meta{name: "viewport", content: "width=device-width, initial-scale=1"}
%meta{"http-equiv" => "cleartype", content: "on"}
%link{rel: "apple-touch-icon-precomposed", sizes: "180x180", href: "/touch/apple-touch-icon-180x180-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "152x152", href: "/touch/apple-touch-icon-152x152-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "144x144", href: "/touch/apple-touch-icon-144x144-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "120x120", href: "/touch/apple-touch-icon-120x120-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "114x114", href: "/touch/apple-touch-icon-114x114-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "76x76", href: "/touch/apple-touch-icon-76x76-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", sizes: "72x72", href: "/touch/apple-touch-icon-72x72-precomposed.png"}
%link{rel: "apple-touch-icon-precomposed", href: "/touch/apple-touch-icon-57x57-precomposed.png"}
%link{rel: "shortcut icon", href: "/touch/apple-touch-icon.png"}
-# Chrome 31+ home screen icon
%link{rel: "icon", sizes: "192x192", href: "/touch/touch-icon-192x192.png"}
%link{rel: "icon", sizes: "128x128", href: "/touch/touch-icon-128x128.png"}
-# Tile icon for Win8
%meta{name: "msapplication-TileImage", content: "/touch/apple-touch-icon-144x144-precomposed.png"}
%meta{name: "msapplication-TileColor", content: "#222222"}
-# SEO: If mobile URL is different from desktop URL, add a canonical link to the desktop page
-# %link{rel: "canonical", href: "http://www.example.com/"}
-# Add to homescreen for Chrome on Android
-# %meta{name: "mobile-web-app-capable", content: "yes"}
-# For iOS web apps. Delete if not needed. https://github.com/h5bp/mobile-boilerplate/issues/94
-# %meta{name: "apple-mobile-web-app-capable", content: "yes"}
-# %meta{name: "apple-mobile-web-app-status-bar-style", content: "black"}
-# %meta{name: "apple-mobile-web-app-title", content: ""}
-# This script prevents links from opening in Mobile Safari. https://gist.github.com/1042026
-# :javascript
-# (function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")
= stylesheet_link_tag "phone"
-# 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){}
-# for production customize modernizr at: http://www.modernizr.com/download/
= javascript_include_tag 'modernizr-2.8.3.min'
= csrf_meta_tag