annotate src/python.html.luan @ 53:3082eaf8457d

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 10 Jan 2024 12:59:16 -0700
parents 837da2e37165
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local existing_header = Shared.existing_header or error()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
17
Franklin Schmidt <fschmidt@gmail.com>
parents: 16
diff changeset
17 <title>Reactionary Software - Python</title>
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 </head>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% existing_header() %>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Python</h1>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
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>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 </div>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 </body>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 </html>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 <%
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 end