Skip to content
Browse files

added a default layout

  • Loading branch information...
1 parent 42fb04e commit 85f47517d08217fe6a4a4a5e727d147b25f6ab8a John Reilly committed Dec 18, 2008
Showing with 24 additions and 1 deletion.
  1. +19 −0 _layouts/default.html
  2. +5 −1 index.html
View
19 _layouts/default.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>{{ page.title }}</title>
+ <meta name="author" content="John Reilly" />
+</head>
+<body>
+
+ <div class="site">
+ <div class="header"></div>
+ {{ content }}
+ <div class="footer"></div>
+ </div>
+
+</body>
+</html>
View
6 index.html
@@ -1 +1,5 @@
-Hello.
+---
+layout: default
+title: johnreilly
+---
+<p>Hello.</p>

0 comments on commit 85f4751

Please sign in to comment.
Something went wrong with that request. Please try again.