Mercurial Hosting > luan
annotate website/src/index.html.luan @ 436:52a6295e92c9
support old jetty
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 03 May 2015 22:29:18 -0600 |
parents | 2f5cc9c2cbf0 |
children | 2b9bc97f0439 |
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 | 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() |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
8 %> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
9 <html> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
10 <head> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
11 <% Html.simply_html_head() %> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
12 <title>Luan</title> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
13 </head> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
14 <body> |
351 | 15 <div container> |
16 <h1>The Luan Programming Language</h1> | |
17 <big> | |
352 | 18 <p margin-bottom="2em">under construction...</p> |
19 <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 | 20 <p> |
370 | 21 <a href="docs.html">Documentation</a><br> |
386
db23f654f87d
make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
370
diff
changeset
|
22 <a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a><br> |
351 | 23 <a href="https://bitbucket.org/frschmidt/luan">Source</a><br> |
353 | 24 <a href="http://luan.7479.n7.nabble.com/">Forum</a><br> |
351 | 25 </p> |
26 </big> | |
353 | 27 <p margin-top="2em"><small>This website was made with <a href="http://www.simplyhtml.org/">SimplyHTML</a>.</small></p> |
351 | 28 </div> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
29 <% Html.simply_html_body_bottom() %> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
30 </body> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
31 </html> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
32 <% |
386
db23f654f87d
make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
370
diff
changeset
|
33 end |