/
layout.haml
27 lines (27 loc) · 1.11 KB
/
layout.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
%html(lang="en")
%head
%meta(charset="utf-8")
%meta(content="width=device-width, initial-scale=1.0" name="viewport")
- if @description
%meta(name="description" content=@description)
- if @keywords
%meta(name="keywords" content=@keywords)
%title= @title
%link(href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css')
<!--[if ! lte IE 6]><!-->
%link(href="#{path_to('/css/master.css')}" media="screen" rel="stylesheet")
- local_stylesheet_link_tag('local')
<!--<![endif]-->
/[if lte IE 6]
%link(rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.1.css" media="screen, projection")
/[if lt IE 9]
%script(src="//html5shim.googlecode.com/svn/trunk/html5.js")
%script(src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js")
%link(href="#{path_to('/articles.xml')}" rel="alternate" type="application/atom+xml")
= haml :analytics, :layout => false
%body
#container
= haml :header, :layout => false
= yield
= haml :footer, :layout => false