This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
/
layout.haml
41 lines (36 loc) · 1.96 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
!!! 5
/[if lt IE 7 ] <html class="ie ie6" lang="en">
/[if IE 7 ] <html class="ie ie7" lang="en">
/[if IE 8 ] <html class="ie ie8" lang="en">
/ [if (gte IE 9)|!(IE)]><!
%html{:lang=>"en"}
/ <![endif]
%head
%meta{:charset=>"utf8"}
%meta{:content=>"width=device-width, initial-scale=1, maximum-scale=1", :name=>"viewport"}
%meta{:name=>"twitter:card", :content=> @image ? "summary_large_image" : "summary"}
%meta{:name=>"twitter:site", :content=>"@lindeseybieda"}
%meta{:name=>"twitter:title", :content=>title.sub("»", "»")}
%meta{:name=>"twitter:description", :content=>description.strip}
- if @image
%meta{:name=>"twitter:image", :content=>@image}
/[if lt IE 9]
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
%link{:href=>"http://fonts.googleapis.com/css?family=Merriweather:400,300", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href => "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css", :rel => "stylesheet"}
%link{:href => "https://bootswatch.com/sandstone/bootstrap.min.css", :rel => "stylesheet"}
%link{:href=>"/stylesheets/sunburst.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"/stylesheets/style.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"http://yui.yahooapis.com/pure/0.6.0/pure-min.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"/rss.xml", :rel=>"alternate", :type=>"application/atom+xml", :title=>title}
%title #{title}
%body
= partial :menu
.header-img
= yield
%script{:src=>"http://code.jquery.com/jquery-1.9.1.min.js"}
%script{:src=>"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"}
%script{:src=>"/javascript/jquery.fittext.js"}
%script{:src=>"/javascript/jquery.githubRepoWidget.min.js"}
%script{:src=>"/javascript/app.js"}