summaryrefslogtreecommitdiff
path: root/source/layouts/layout.erb
diff options
context:
space:
mode:
Diffstat (limited to 'source/layouts/layout.erb')
-rw-r--r--source/layouts/layout.erb19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb
new file mode 100644
index 0000000..7bdfeb1
--- /dev/null
+++ b/source/layouts/layout.erb
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+
+ <!-- Always force latest IE rendering engine or request Chrome Frame -->
+ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
+
+ <!-- Use title if it's in the page YAML frontmatter -->
+ <title><%= current_page.data.title || "The Middleman" %></title>
+
+ <%= stylesheet_link_tag "normalize", "all" %>
+ <%= javascript_include_tag "all" %>
+ </head>
+
+ <body class="<%= page_classes %>">
+ <%= yield %>
+ </body>
+</html> \ No newline at end of file