comparison website/src/manual.html.luan @ 391:2f5cc9c2cbf0

replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 24 Apr 2015 14:05:52 -0600
parents 497d4ef0a89f
children a7cb58532846
comparison
equal deleted inserted replaced
390:bfbbce690bba 391:2f5cc9c2cbf0
4 local Shared = require "site:/Shared" 4 local Shared = require "site:/Shared"
5 5
6 6
7 function service() 7 function service()
8 Io.stdout = Http.response.text_writer() 8 Io.stdout = Http.response.text_writer()
9 Html.simply_html_page{ 9 %>
10 head = function() %> 10 <html>
11 <title>Luan Reference Manual</title> 11 <head>
12 <% end; 12 <% Html.simply_html_head() %>
13 body = function() %> 13 <title>Luan Reference Manual</title>
14 </head>
15 <body>
14 16
15 <div container> 17 <div container>
16 <% Shared.header() %> 18 <% Shared.header() %>
17 19
18 <h1>Luan Reference Manual</h1> 20 <h1>Luan Reference Manual</h1>
10224 Last change: minor edit 10226 Last change: minor edit
10225 --> 10227 -->
10226 10228
10227 </div> 10229 </div>
10228 10230
10229 <% end; 10231 <% Html.simply_html_body_bottom() %>
10230 } 10232 </body>
10233 </html>
10234 <%
10231 end 10235 end