view src/nginx.html.luan @ 59:91b5033f53b1

learn html
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 15 Jan 2024 03:42:21 -0700
parents 981e744abff1
children
line wrap: on
line source

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>Nginx</h1>

			<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>
		</div>
	</body>
</html>
<%
end