1
|
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 existing_header = Shared.existing_header or error()
|
|
8
|
|
9
|
|
10 return function()
|
|
11 Io.stdout = Http.response.text_writer()
|
|
12 %>
|
|
13 <!doctype html>
|
|
14 <html>
|
|
15 <head>
|
|
16 <% head() %>
|
|
17 <title>Existing Reactionary Software</title>
|
15
|
18 </head>
|
1
|
19 <body>
|
|
20 <% existing_header() %>
|
|
21 <div content>
|
|
22 <h1>Existing Reactionary Software</h1>
|
|
23 <ul links>
|
|
24 <li><a href="/mercurial.html">Mercurial</a></li>
|
14
|
25 <li><a href="/bash.html">Bash</a></li>
|
6
|
26 <li><a href="/java.html">Java 8</a></li>
|
1
|
27 <li><a href="http://www.luan.software/">Luan</a></li>
|
2
|
28 <li><a href="/nginx.html">Nginx</a></li>
|
1
|
29 <li><a href="/this.html">This Website</a></li>
|
|
30 </ul>
|
|
31 </div>
|
|
32 </body>
|
|
33 </html>
|
|
34 <%
|
|
35 end
|