changeset 16:bac9577e951b

add python
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 10 May 2022 16:20:41 -0600
parents 9694eff797bf
children 837da2e37165
files src/existing.html.luan src/python.html.luan
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/existing.html.luan	Thu May 05 15:31:00 2022 -0600
+++ b/src/existing.html.luan	Tue May 10 16:20:41 2022 -0600
@@ -24,6 +24,7 @@
 				<li><a href="/mercurial.html">Mercurial</a></li>
 				<li><a href="/bash.html">Bash</a></li>
 				<li><a href="/java.html">Java 8</a></li>
+				<li><a href="/python.html">Python</a></li>
 				<li><a href="http://www.luan.software/">Luan</a></li>
 				<li><a href="/nginx.html">Nginx</a></li>
 				<li><a href="/this.html">This Website</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/python.html.luan	Tue May 10 16:20:41 2022 -0600
@@ -0,0 +1,29 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local existing_header = Shared.existing_header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Nginx</title>
+	</head>
+	<body>
+<%		existing_header() %>
+		<div content>
+			<h1>Python</h1>
+
+			<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>
+		</div>
+	</body>
+</html>
+<%
+end