Mercurial Hosting > reactionary
comparison src/existing.html.luan @ 91:76baf48ea36b
add translation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 02 May 2025 17:17:52 -0600 |
parents | 32be9862e1cc |
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() |
10 local luan_url = Shared.luan_url or error() | |
8 | 11 |
9 | 12 |
10 return function() | 13 return function() |
11 Io.stdout = Http.response.text_writer() | 14 Io.stdout = text_writer() |
12 %> | 15 %> |
13 <!doctype html> | 16 <!doctype html> |
14 <html> | 17 <html lang="<%=get_lang()%>"> |
15 <head> | 18 <head> |
16 <% head() %> | 19 <% head() %> |
17 <title>Existing Reactionary Software</title> | 20 <title>Existing Reactionary Software</title> |
18 </head> | 21 </head> |
19 <body> | 22 <body> |
20 <% existing_header() %> | 23 <% existing_header() %> |
21 <div content> | 24 <div content> |
22 <h1>Existing Reactionary Software</h1> | 25 <h1>Existing Reactionary Software</h1> |
23 <ul links> | 26 <ul links> |
24 <li><a href="https://dad.reactionary.software/">JavaScript Drag and Drop</a> <img src="external_link.svg"></li> | 27 <li><a href="https://dad.reactionary.software/">JavaScript Drag and Drop</a> <img src="/external_link.svg"></li> |
25 <li><a href="/mercurial.html">Mercurial</a></li> | 28 <li><a href="mercurial.html">Mercurial</a></li> |
26 <li><a href="/bash.html">Bash</a></li> | 29 <li><a href="bash.html">Bash</a></li> |
27 <li><a href="/java.html">Java 8</a></li> | 30 <li><a href="java.html">Java 8</a></li> |
28 <li><a href="/python.html">Python</a></li> | 31 <li><a href="python.html">Python</a></li> |
29 <li><a href="https://www.luan.software/">Luan</a> <img src="external_link.svg"></li> | 32 <li><a href="<%=luan_url()%>/">Luan</a> <img src="/external_link.svg"></li> |
30 <li><a href="/nginx.html">Nginx</a></li> | 33 <li><a href="nginx.html">Nginx</a></li> |
31 <li><a href="https://mailer.reactionary.software/">Mailer REST API</a> <img src="external_link.svg"></li> | 34 <li><a href="https://mailer.reactionary.software/">Mailer REST API</a> <img src="/external_link.svg"></li> |
32 <li><a href="/this.html">This Website</a></li> | 35 <li><a href="this.html">This Website</a></li> |
33 </ul> | 36 </ul> |
34 </div> | 37 </div> |
35 </body> | 38 </body> |
36 </html> | 39 </html> |
37 <% | 40 <% |