aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views
diff options
context:
space:
mode:
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>