Mercurial Hosting > luan
annotate website/src/index.html.luan @ 1760:13da09b5b13b
merge
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 10 Apr 2023 17:46:41 -0600 |
parents | 8066b8882732 |
children | 7d2297155ee3 |
rev | line source |
---|---|
1651 | 1 local Luan = require "luan:Luan.luan" |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
4 local Http = require "luan:http/Http.luan" | |
5 local Shared = require "site:/lib/Shared.luan" | |
6 local head = Shared.head or error() | |
7 local header = Shared.header or error() | |
8 | |
9 | |
10 return function() | |
11 Io.stdout = Http.response.text_writer() | |
12 %> | |
1216 | 13 <!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
|
14 <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
|
15 <head> |
1651 | 16 <% head() %> |
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
|
17 <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
|
18 </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
|
19 <body> |
1651 | 20 <% header() %> |
21 <div content> | |
22 <h1>The Luan Programming Language</h1> | |
1323
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
23 |
1658 | 24 <p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/technologies/downloads/#java8">Java</a>. Luan is <a href="http://www.reactionary.software/">reactionary software</a>.</p> |
1323
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
25 |
1654 | 26 <ul links> |
27 <li><a href="why.html">Why Luan?</a></li> | |
28 <li><a href="docs.html">Documentation</a></li> | |
29 <li><a href="download/">Download</a></li> | |
1671 | 30 <li><a href="https://hg.reactionary.software/repo/luan">Source</a></li> |
1654 | 31 <li><a href="http://forum.luan.software/">Support Forum</a></li> |
32 <li><a href="goodjava.html">The goodjava Library</a></li> | |
33 </ul> | |
1579 | 34 |
1651 | 35 <div footer> |
36 Luan was optimized with <a href="https://www.yourkit.com/java/profiler/">YourKit Java Profiler <img src="https://www.yourkit.com/images/yklogo.png"></a>. | |
37 </div> | |
1579 | 38 </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
|
39 </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
|
40 </html> |
1651 | 41 <% |
42 end |