annotate src/needed.html.luan @ 62:7fe3cfba9c85

learn regex
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Jun 2024 17:29:10 -0600
parents 04501bde187d
children 4b68d7e43726
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 needed_header = Shared.needed_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>Needed Reactionary Software</title>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 4
diff changeset
18 </head>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% needed_header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Needed Reactionary Software</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 <ul links>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
24 <li><a href="/lucene.html">Lucene Fork</a></li>
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 32
diff changeset
25 <li><a href="/java_fork.html">Java Fork</a></li>
55
04501bde187d add hg_dev
Franklin Schmidt <fschmidt@gmail.com>
parents: 38
diff changeset
26 <li><a href="hg_dev.html">Mercurial Development</a></li>
4
2cdaf431dc86 start freedit
Franklin Schmidt <fschmidt@gmail.com>
parents: 3
diff changeset
27 <li><a href="/freedit.html">FreedIt - A Reddit Alternative</a></li>
22
0e882ff8d245 add wysiwyg
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
28 <li><a href="/wysiwyg.html">WYSIWYG Web Editor</a></li>
55
04501bde187d add hg_dev
Franklin Schmidt <fschmidt@gmail.com>
parents: 38
diff changeset
29 <li><a href="http://test.disearch.org/tools/why.html">Disearch - A Disboard Alternative</a> <img src="external_link.svg"></li>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 </ul>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
35 end