Mercurial Hosting > luan
comparison website/src/docs.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 | 23d075ce1e48 | 
| children | 2b9bc97f0439 | 
   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 Documentation</title> | 11 <head> | 
| 12 <% end; | 12 <% Html.simply_html_head() %> | 
| 13 body = function() %> | 13 <title>Luan Documentation</title> | 
| 14 </head> | |
| 15 <body> | |
| 14 <div container> | 16 <div container> | 
| 15 <% Shared.header() %> | 17 <% Shared.header() %> | 
| 16 <h1 margin-bottom="1em">Luan Documentation</h1> | 18 <h1 margin-bottom="1em">Luan Documentation</h1> | 
| 17 | 19 | 
| 18 <big> | 20 <big> | 
| 23 <a href="diff.html">How Luan differs from Lua</a><br> | 25 <a href="diff.html">How Luan differs from Lua</a><br> | 
| 24 </p> | 26 </p> | 
| 25 </big> | 27 </big> | 
| 26 | 28 | 
| 27 </div> | 29 </div> | 
| 28 <% end; | 30 <% Html.simply_html_body_bottom() %> | 
| 29 } | 31 </body> | 
| 32 </html> | |
| 33 <% | |
| 30 end | 34 end | 
