Mercurial Hosting > reactionary
comparison src/nginx.html.luan @ 91:76baf48ea36b
add translation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 02 May 2025 17:17:52 -0600 |
parents | 981e744abff1 |
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 existing_header = Shared.existing_header or error() | 9 local existing_header = Shared.existing_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 - Nginx</title> | 19 <title>Reactionary Software - Nginx</title> |
18 </head> | 20 </head> |
19 <body> | 21 <body> |
20 <% existing_header() %> | 22 <% existing_header() %> |
21 <div content> | 23 <div content> |
22 <h1>Nginx</h1> | 24 <h1>Nginx</h1> |
23 | 25 |
24 <p>As a disclaimer, I haven't worked with <a href="https://nginx.org/en/">Nginx</a> directly. My sysadmin manages it. But I believe that it is good reactionary software. Nginx works reliably. It doesn't seem to be based on any senseless modern ideology. Its developers are from Russia, outside of the depraved West. And most tellingly, its <a href="http://hg.nginx.org/nginx/">source code</a> is on <a href="/mercurial.html">Mercurial</a>.</p> | 26 <p>As a disclaimer, I haven't worked with <a href="https://nginx.org/en/">Nginx</a> directly. My sysadmin manages it. But I believe that it is good reactionary software. Nginx works reliably. It doesn't seem to be based on any senseless modern ideology. Its developers are from Russia, outside of the depraved West. And most tellingly, its <a href="http://hg.nginx.org/nginx/">source code</a> is on <a href="mercurial.html">Mercurial</a>.</p> |
25 </div> | 27 </div> |
26 </body> | 28 </body> |
27 </html> | 29 </html> |
28 <% | 30 <% |
29 end | 31 end |