annotate src/index.html.luan @ 52:8e5ad4f564f5

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 09 Jan 2024 16:45:52 -0700
parents ebab99118e19
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
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 header = Shared.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>Reactionary Software</title>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <style>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 h1 {
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 margin-bottom: 0;
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 }
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 h3 {
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 margin-top: 8px;
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 }
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 </style>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 11
diff changeset
26 </head>
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 <% header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 <h1>Reactionary Software</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 <h3>Make software great again!</h3>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 <p>For programmers who hate modern software. Modern software is overcomplicated, bloated, unreliable, incomprehensible, pointlessly ideological, and mostly unusable. We like the values of older software: simplicity, reliability, and usability.</p>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 <ul links>
11
4e58808aaed9 start about
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
34 <li><a href="/about.html">About Reactionary Software</a></li>
1
Franklin Schmidt <fschmidt@gmail.com>
parents: 0
diff changeset
35 <li><a href="/existing.html">Existing Reactionary Software</a></li>
Franklin Schmidt <fschmidt@gmail.com>
parents: 0
diff changeset
36 <li><a href="/needed.html">Needed Reactionary Software</a></li>
40
ebab99118e19 add learn.html
Franklin Schmidt <fschmidt@gmail.com>
parents: 15
diff changeset
37 <li><a href="/learn.html">Learn Reactionary Programming</a></li>
10
23ec74373183 add books
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
38 <li><a href="/books.html">Reactionary Programming Books</a></li>
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
39 <li><a href="/discussion.html">Discussion</a></li>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
40 </ul>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
41 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
42 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
43 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
44 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
45 end