comparison src/python.html.luan @ 16:bac9577e951b

add python
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 10 May 2022 16:20:41 -0600
parents
children 837da2e37165
comparison
equal deleted inserted replaced
15:9694eff797bf 16:bac9577e951b
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan"
5 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error()
7 local existing_header = Shared.existing_header or error()
8
9
10 return function()
11 Io.stdout = Http.response.text_writer()
12 %>
13 <!doctype html>
14 <html>
15 <head>
16 <% head() %>
17 <title>Reactionary Software - Nginx</title>
18 </head>
19 <body>
20 <% existing_header() %>
21 <div content>
22 <h1>Python</h1>
23
24 <p>I have never done a major project in <a href="https://www.python.org/">Python</a>, so I am not qualified to write this page. But I have looked at Python enough to know that it qualifies as good reactionary software. Python was developed in the 1990s, before the West became depraved. If you are a reactionary programmer with Python experience, please consider writing the content for this page, and I will replace this with what you write.</p>
25 </div>
26 </body>
27 </html>
28 <%
29 end