Mercurial Hosting > luan
view 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 |
line wrap: on
line source
local Io = require "luan:Io" local Html = require "luan:Html" local Http = require "luan:web/Http" function service() Io.stdout = Http.response.text_writer() Html.simply_html_page{ head = function() %> <title>Luan Documentation</title> <% end; body = function() %> <div container> <div><small><a href="/">Luan</a></small></div> <h1 margin-bottom="1em">Luan Documentation</h1> <big> <p> <a href="tutorial.html">Tutorial</a><br> <a href="pil.html">Programming in Lua (book)</a><br> <a href="manual.html">Reference Manual</a><br> <a href="diff.html">How Luan differs from Lua</a><br> </p> </big> </div> <% end; } end