annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
386
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
1 local Io = require "luan:Io"
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
2 local Html = require "luan:Html"
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
3 local Http = require "luan:web/Http"
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
4
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
386
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
6 function service()
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
7 Io.stdout = Http.response.text_writer()
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
8 Html.simply_html_page{
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
9 head = function() %>
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
10 <title>Luan</title>
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
11 <% end;
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
12 body = function() %>
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <div container>
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <h1>The Luan Programming Language</h1>
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <big>
352
90c8406bf735 add website/push.sh
Franklin Schmidt <fschmidt@gmail.com>
parents: 351
diff changeset
16 <p margin-bottom="2em">under construction...</p>
90c8406bf735 add website/push.sh
Franklin Schmidt <fschmidt@gmail.com>
parents: 351
diff changeset
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>
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <p>
370
7999601586b1 minor documentation
Franklin Schmidt <fschmidt@gmail.com>
parents: 353
diff changeset
19 <a href="docs.html">Documentation</a><br>
386
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
20 <a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a><br>
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <a href="https://bitbucket.org/frschmidt/luan">Source</a><br>
353
38c19ecc384d start documentation
Franklin Schmidt <fschmidt@gmail.com>
parents: 352
diff changeset
22 <a href="http://luan.7479.n7.nabble.com/">Forum</a><br>
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 </p>
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 </big>
353
38c19ecc384d start documentation
Franklin Schmidt <fschmidt@gmail.com>
parents: 352
diff changeset
25 <p margin-top="2em"><small>This website was made with <a href="http://www.simplyhtml.org/">SimplyHTML</a>.</small></p>
351
427e7df4df17 start websites
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 </div>
386
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
27 <% end;
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
28 }
db23f654f87d make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents: 370
diff changeset
29 end