This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- content_for(:head) do | |
%title The Middleman! | |
%h1 The Middleman is watching. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
%head | |
%meta{:charset => "utf-8"} | |
/#Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"} | |
= stylesheet_link_tag 'site' | |
= yield_content :head | |
%body{:class => page_classes} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=font-face($family, $style, $weight) | |
$prefix = "'type/" +$family + $style + $weight | |
@font-face | |
font: | |
family: $family | |
style: $style | |
weight: $weight | |
src: url($prefix + ".eot?#iefix'") format('embedded-opentype') | |
src: url($prefix + ".woff'" ) format('woff') | |
src: url($prefix + ".ttf'") format('truetype') |