Mercurial Hosting > reactionary
comparison src/index.html.luan @ 91:76baf48ea36b
add translation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 02 May 2025 17:17:52 -0600 |
parents | 20e080f6d217 |
children |
comparison
equal
deleted
inserted
replaced
90:0dced626778b | 91:76baf48ea36b |
---|---|
1 local Luan = require "luan:Luan.luan" | 1 local Luan = require "luan:Luan.luan" |
2 local error = Luan.error | 2 local error = Luan.error |
3 local Io = require "luan:Io.luan" | 3 local Io = require "luan:Io.luan" |
4 local Http = require "luan:http/Http.luan" | 4 local Site_translator = require "luan:gpt/Site_translator.luan" |
5 local get_lang = Site_translator.get_lang or error() | |
6 local text_writer = Site_translator.text_writer or error() | |
5 local Shared = require "site:/lib/Shared.luan" | 7 local Shared = require "site:/lib/Shared.luan" |
6 local head = Shared.head or error() | 8 local head = Shared.head or error() |
7 local header = Shared.header or error() | 9 local header = Shared.header or error() |
8 | 10 |
9 | 11 |
10 return function() | 12 return function() |
11 Io.stdout = Http.response.text_writer() | 13 Io.stdout = text_writer() |
12 %> | 14 %> |
13 <!doctype html> | 15 <!doctype html> |
14 <html> | 16 <html lang="<%=get_lang()%>"> |
15 <head> | 17 <head> |
16 <% head() %> | 18 <% head() %> |
17 <title>Reactionary Software</title> | 19 <title>Reactionary Software</title> |
18 <style> | 20 <style> |
19 h1 { | 21 h1 { |
29 <div content> | 31 <div content> |
30 <h1>Reactionary Software</h1> | 32 <h1>Reactionary Software</h1> |
31 <h3>Make software great again!</h3> | 33 <h3>Make software great again!</h3> |
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> | 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> |
33 <ul links> | 35 <ul links> |
34 <li><a href="/about.html">About Reactionary Software</a></li> | 36 <li><a href="about.html">About Reactionary Software</a></li> |
35 <li><a href="/existing.html">Existing Reactionary Software</a></li> | 37 <li><a href="existing.html">Existing Reactionary Software</a></li> |
36 <li><a href="/needed.html">Needed Reactionary Software</a></li> | 38 <li><a href="needed.html">Needed Reactionary Software</a></li> |
37 <li><a href="/learn.html">Learn Reactionary Programming</a></li> | 39 <li><a href="learn.html">Learn Reactionary Programming</a></li> |
38 <li><a href="/books.html">Reactionary Programming Books</a></li> | 40 <li><a href="books.html">Reactionary Programming Books</a></li> |
39 <li><a href="/saving.html">Saving Programming from Modern Culture</a></li> | 41 <li><a href="saving.html">Saving Programming from Modern Culture</a></li> |
40 <li><a href="/discussion.html">Discussion</a></li> | 42 <li><a href="discussion.html">Discussion</a></li> |
41 </ul> | 43 </ul> |
42 </div> | 44 </div> |
43 </body> | 45 </body> |
44 </html> | 46 </html> |
45 <% | 47 <% |