summaryrefslogtreecommitdiff
path: root/source/layouts
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-04-06 15:39:51 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-04-06 15:39:51 +0200
commit54081880a975764171560b47d815e40227966051 (patch)
tree6142012af962e90ee6f1bc20bc7124b893bb9a3b /source/layouts
initial commit with barebones middleman app
Diffstat (limited to 'source/layouts')
-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