Mercurial Hosting > luan
comparison website/src/pil.html.luan @ 562:7cc9d4a53d3b
remove SimplyHTML from documentation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 24 Jun 2015 14:20:00 -0600 |
parents | 7bc63886d4f2 |
children | ca169567ce07 |
comparison
equal
deleted
inserted
replaced
561:363d07e26549 | 562:7cc9d4a53d3b |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io" |
2 local Html = require "luan:Html" | |
3 local Http = require "luan:http/Http" | 2 local Http = require "luan:http/Http" |
4 local Shared = require "site:/Shared" | 3 local Shared = require "site:/Shared" |
5 | 4 |
6 | 5 |
7 return function() | 6 return function() |
8 Io.stdout = Http.response.text_writer() | 7 Io.stdout = Http.response.text_writer() |
9 %> | 8 %> |
10 <html> | 9 <html> |
11 <head> | 10 <head> |
12 <% Html.simply_html_head() %> | |
13 <title>Programming in Lua</title> | 11 <title>Programming in Lua</title> |
12 <style> | |
13 @import "/site.css"; | |
14 </style> | |
14 </head> | 15 </head> |
15 <body> | 16 <body> |
16 <div container> | 17 <% Shared.header() %> |
17 <% Shared.header() %> | 18 <h1>Programming in Lua</h1> |
18 <h1 margin-bottom="1em">Programming in Lua</h1> | |
19 | 19 |
20 <p>Even though <a href="http://www.lua.org/pil/">Programming in Lua</a> is about Lua, not Luan, it still serves as an excellent introduction to Luan since the languages are so close.</p> | 20 <p>Even though <a href="http://www.lua.org/pil/">Programming in Lua</a> is about Lua, not Luan, it still serves as an excellent introduction to Luan since the languages are so close.</p> |
21 | |
22 </div> | |
23 <% Html.simply_html_body_bottom() %> | |
24 </body> | 21 </body> |
25 </html> | 22 </html> |
26 <% | 23 <% |
27 end | 24 end |