comparison website/src/index.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/index.html@7999601586b1
children 2f5cc9c2cbf0
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</title>
11 <% end;
12 body = function() %>
13 <div container>
14 <h1>The Luan Programming Language</h1>
15 <big>
16 <p margin-bottom="2em">under construction...</p>
17 <p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</p>
18 <p>
19 <a href="docs.html">Documentation</a><br>
20 <a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a><br>
21 <a href="https://bitbucket.org/frschmidt/luan">Source</a><br>
22 <a href="http://luan.7479.n7.nabble.com/">Forum</a><br>
23 </p>
24 </big>
25 <p margin-top="2em"><small>This website was made with <a href="http://www.simplyhtml.org/">SimplyHTML</a>.</small></p>
26 </div>
27 <% end;
28 }
29 end