aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-05 20:13:53 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-05 20:13:53 -0500
commit58bbed61ddec922fec53a39ec1472f2a5c480a0b (patch)
treea8baf43f337e974ae84d1fac4cdada85bf1e5aad /src/guff/views
parent2feff82cf98724bb1f8249d681f116459241c929 (diff)
downloadold-guff-58bbed61ddec922fec53a39ec1472f2a5c480a0b.tar.bz2
old-guff-58bbed61ddec922fec53a39ec1472f2a5c480a0b.zip
refactor page
Diffstat (limited to 'src/guff/views')
-rw-r--r--src/guff/views/page.ecr5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/guff/views/page.ecr b/src/guff/views/page.ecr
index 505731a..e009ac1 100644
--- a/src/guff/views/page.ecr
+++ b/src/guff/views/page.ecr
@@ -1,11 +1,12 @@
<!DOCTYPE html>
-<html lang='en-US'>
+<html lang='<%= h(@lang) %>'>
<head>
+ <meta charset="<%= h(@charset) %>"/>
<title><%= h(@title) %></title>
<%= page_headers %>
</head>
- <body id='<%= @body_id %>' class='<%= body_class %>'><%=
+ <body <%= body_attrs %>><%=
@body
%></body>