aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views/page.ecr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/views/page.ecr')
-rw-r--r--src/guff/views/page.ecr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/guff/views/page.ecr b/src/guff/views/page.ecr
new file mode 100644
index 0000000..505731a
--- /dev/null
+++ b/src/guff/views/page.ecr
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang='en-US'>
+ <head>
+ <title><%= h(@title) %></title>
+ <%= page_headers %>
+ </head>
+
+ <body id='<%= @body_id %>' class='<%= body_class %>'><%=
+ @body
+ %></body>
+
+ <%= page_footers %>
+</html>