Mercurial Hosting > luan
annotate website/src/index.html.luan @ 1323:3860ed4b8552
simplify website css
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 07 Feb 2019 05:38:38 -0700 |
parents | 41b35c15ad36 |
children |
rev | line source |
---|---|
774
3e30cf310e56
change download to use bitbucket
Franklin Schmidt <fschmidt@gmail.com>
parents:
693
diff
changeset
|
1 local Luan = require "luan:Luan.luan" |
693
ca169567ce07
module URIs must now include ".luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
562
diff
changeset
|
2 local Io = require "luan:Io.luan" |
ca169567ce07
module URIs must now include ".luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
562
diff
changeset
|
3 local Http = require "luan:http/Http.luan" |
386
db23f654f87d
make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
370
diff
changeset
|
4 |
351 | 5 |
505
7bc63886d4f2
web page modules now return a function
Franklin Schmidt <fschmidt@gmail.com>
parents:
503
diff
changeset
|
6 return function() |
386
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 %> |
1216 | 9 <!doctype html> |
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
|
10 <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
|
11 <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> |
562
7cc9d4a53d3b
remove SimplyHTML from documentation
Franklin Schmidt <fschmidt@gmail.com>
parents:
505
diff
changeset
|
13 <style> |
7cc9d4a53d3b
remove SimplyHTML from documentation
Franklin Schmidt <fschmidt@gmail.com>
parents:
505
diff
changeset
|
14 @import "/site.css"; |
7cc9d4a53d3b
remove SimplyHTML from documentation
Franklin Schmidt <fschmidt@gmail.com>
parents:
505
diff
changeset
|
15 </style> |
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
|
16 </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
|
17 <body> |
1323
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
18 <h1>The Luan Programming Language</h1> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
19 |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
20 <p small>under construction...</p> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
21 |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
22 <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> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
23 |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
24 <div link><a href="docs.html">Documentation</a></div> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
25 <div link><a href="/download/">Download</a></div> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
26 <div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div> |
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
27 <div link><a href="http://forum.luan.ws/">Forum</a></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
|
28 </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
|
29 </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
|
30 <% |
386
db23f654f87d
make all of website use luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
370
diff
changeset
|
31 end |