Mercurial Hosting > luan
comparison website/src/docs.html.luan @ 386:db23f654f87d
make all of website use luan
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 23 Apr 2015 18:09:12 -0600 |
| parents | website/src/docs.html@8557581740db |
| children | 23d075ce1e48 |
comparison
equal
deleted
inserted
replaced
| 385:9850d788a20b | 386:db23f654f87d |
|---|---|
| 1 local Io = require "luan:Io" | |
| 2 local Html = require "luan:Html" | |
| 3 local Http = require "luan:web/Http" | |
| 4 | |
| 5 | |
| 6 function service() | |
| 7 Io.stdout = Http.response.text_writer() | |
| 8 Html.simply_html_page{ | |
| 9 head = function() %> | |
| 10 <title>Luan Documentation</title> | |
| 11 <% end; | |
| 12 body = function() %> | |
| 13 <div container> | |
| 14 <div><small><a href="/">Luan</a></small></div> | |
| 15 <h1 margin-bottom="1em">Luan Documentation</h1> | |
| 16 | |
| 17 <big> | |
| 18 <p> | |
| 19 <a href="tutorial.html">Tutorial</a><br> | |
| 20 <a href="pil.html">Programming in Lua (book)</a><br> | |
| 21 <a href="manual.html">Reference Manual</a><br> | |
| 22 <a href="diff.html">How Luan differs from Lua</a><br> | |
| 23 </p> | |
| 24 </big> | |
| 25 | |
| 26 </div> | |
| 27 <% end; | |
| 28 } | |
| 29 end |
