view src/existing.html.luan @ 2:a247572ccaac

add nginx
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 08 Apr 2022 14:09:57 -0600
parents da780d885325
children e151eeda658c
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>Existing Reactionary Software</title>
	<head>
	<body>
<%		existing_header() %>
		<div content>
			<h1>Existing Reactionary Software</h1>
			<ul links>
				<li><a href="/mercurial.html">Mercurial</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>
			</ul>
		</div>
	</body>
</html>
<%
end