view src/this.html.luan @ 73:20e080f6d217

add saving.html
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 28 Mar 2025 14:25:34 -0600
parents 32be9862e1cc
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 - This Website</title>
	</head>
	<body>
<%		existing_header() %>
		<div content>
			<h1>This Website</h1>

			<p>This website is a tiny example of reactionary software.  The UI is clean and simple, not fashionable.  View the HTML source in the browser.  Unlike all modern websites, the HTML here is readable.  Now look at <a href="https://hg.reactionary.software/repo/reactionary">the source</a> which is in <a href="/mercurial.html">Mercurial</a>.  And the code is written in <a href="https://www.luan.software/">Luan</a> which makes it simple.</p>
		</div>
	</body>
</html>
<%
end