1 parent 98e7b67 commit 33d8e3aCopy full SHA for 33d8e3a
1 file changed
source/layouts/layout.haml
@@ -4,6 +4,11 @@
4
%meta{content: "width=device-width, initial-scale=1", name: "viewport"}/
5
%meta{charset: "utf-8"}
6
%meta{content: "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
7
+ - if current_page.data.description
8
+ - raise "description too long" if current_page.data.description.length > 160
9
+ %meta{name: "description", content:"#{current_page.data.description}"}
10
+ - if current_page.data.keywords
11
+ %meta{name: "keywords", content:"#{current_page.data.keywords}"}
12
%link{href: "/images/favicon.ico", rel: "icon", type: "image/ico"}
13
14
%link{href: "http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Source+Code+Pro", rel: "stylesheet", type: "text/css"}
0 commit comments