annotate website/src/index.html.luan @ 1652:d5779a264a4a

docs work
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 31 Mar 2022 19:04:59 -0600
parents 5b8f056527a3
children 3f28ea044a32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1651
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
1 local Luan = require "luan:Luan.luan"
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
2 local error = Luan.error
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
3 local Io = require "luan:Io.luan"
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
4 local Http = require "luan:http/Http.luan"
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
6 local head = Shared.head or error()
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
7 local header = Shared.header or error()
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
8
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
9
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
10 return function()
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
11 Io.stdout = Http.response.text_writer()
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
12 %>
1216
5dbb552075ff doctype
Franklin Schmidt <fschmidt@gmail.com>
parents: 793
diff changeset
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
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
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
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
20 <% header() %>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
21 <div content>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
22 <h1>The Luan Programming Language</h1>
1323
3860ed4b8552 simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents: 1310
diff changeset
23
1651
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
24 <p small>under construction...</p>
1323
3860ed4b8552 simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents: 1310
diff changeset
25
1651
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
26 <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>
1323
3860ed4b8552 simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents: 1310
diff changeset
27
1651
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
28 <div link><a href="why.html">Why Luan?</a></div>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
29 <div link><a href="docs.html">Documentation</a></div>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
30 <div link><a href="download/">Download</a></div>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
31 <div link><a href="https://hg.luan.software/luan">Source</a></div>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
32 <div link><a href="http://forum.luan.software/">Support Forum</a></div>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
33 <div link><a href="goodjava.html">The goodjava Library</a></div>
1579
dd881eb03d87 yourkit link
Franklin Schmidt <fschmidt@gmail.com>
parents: 1577
diff changeset
34
1651
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
35 <div footer>
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
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>.
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
37 </div>
1579
dd881eb03d87 yourkit link
Franklin Schmidt <fschmidt@gmail.com>
parents: 1577
diff changeset
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
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
41 <%
5b8f056527a3 docs work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1579
diff changeset
42 end