view src/existing.html.luan @ 15:9694eff797bf

fix html
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 05 May 2022 15:31:00 -0600
parents 44025d01ad7e
children bac9577e951b
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="/bash.html">Bash</a></li>
				<li><a href="/java.html">Java 8</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