diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-05 20:13:53 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-05 20:13:53 -0500 |
commit | 58bbed61ddec922fec53a39ec1472f2a5c480a0b (patch) | |
tree | a8baf43f337e974ae84d1fac4cdada85bf1e5aad /src/guff/views | |
parent | 2feff82cf98724bb1f8249d681f116459241c929 (diff) | |
download | old-guff-58bbed61ddec922fec53a39ec1472f2a5c480a0b.tar.bz2 old-guff-58bbed61ddec922fec53a39ec1472f2a5c480a0b.zip |
refactor page
Diffstat (limited to 'src/guff/views')
-rw-r--r-- | src/guff/views/page.ecr | 5 |
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> |