annotate src/index.html.luan @ 92:7a56c17befab default tip

translation
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 02 May 2025 20:20:12 -0600
parents 76baf48ea36b
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"
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
4 local Site_translator = require "luan:gpt/Site_translator.luan"
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
5 local get_lang = Site_translator.get_lang or error()
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
6 local text_writer = Site_translator.text_writer or error()
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local Shared = require "site:/lib/Shared.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 local head = Shared.head or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 local header = Shared.header or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 return function()
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
13 Io.stdout = text_writer()
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <!doctype html>
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
16 <html lang="<%=get_lang()%>">
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <head>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <% head() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <title>Reactionary Software</title>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <style>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 h1 {
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 margin-bottom: 0;
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 }
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 h3 {
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 margin-top: 8px;
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 }
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 </style>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 11
diff changeset
28 </head>
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 <% header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 <h1>Reactionary Software</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 <h3>Make software great again!</h3>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34 <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
35 <ul links>
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
36 <li><a href="about.html">About Reactionary Software</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
37 <li><a href="existing.html">Existing Reactionary Software</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
38 <li><a href="needed.html">Needed Reactionary Software</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
39 <li><a href="learn.html">Learn Reactionary Programming</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
40 <li><a href="books.html">Reactionary Programming Books</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
41 <li><a href="saving.html">Saving Programming from Modern Culture</a></li>
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 73
diff changeset
42 <li><a href="discussion.html">Discussion</a></li>
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
43 </ul>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
44 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
45 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
46 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
47 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
48 end