annotate src/existing.html.luan @ 24:4eac77bddd7c

remove saidit
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 19 Aug 2022 18:52:32 -0600
parents bac9577e951b
children d84e76175dd5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local existing_header = Shared.existing_header or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <title>Existing Reactionary Software</title>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 14
diff changeset
18 </head>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% existing_header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Existing Reactionary Software</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 <ul links>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 <li><a href="/mercurial.html">Mercurial</a></li>
14
44025d01ad7e add bash
Franklin Schmidt <fschmidt@gmail.com>
parents: 6
diff changeset
25 <li><a href="/bash.html">Bash</a></li>
6
e151eeda658c add java
Franklin Schmidt <fschmidt@gmail.com>
parents: 2
diff changeset
26 <li><a href="/java.html">Java 8</a></li>
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents: 15
diff changeset
27 <li><a href="/python.html">Python</a></li>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 <li><a href="http://www.luan.software/">Luan</a></li>
2
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
29 <li><a href="/nginx.html">Nginx</a></li>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 <li><a href="/this.html">This Website</a></li>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 </ul>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
35 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
36 end