view src/index.html.luan @ 0:c604a58600be

start
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2022 16:06:10 -0600
parents
children da780d885325
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 header = Shared.header or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Reactionary Software</title>
		<style>
			h1 {
				margin-bottom: 0;
			}
			h3 {
				margin-top: 8px;
			}
		</style>
	<head>
	<body>
<%		header() %>
		<div content>
			<h1>Reactionary Software</h1>
			<h3>Make software great again!</h3>
			<p>For programmers who hate modern software.  Modern software is overcomplicated, bloated, unreliable, incomprehensible, pointlessly ideological, and mostly unusable.  We like the values of older software: simplicity, reliability, and usability.</p>
			<ul links>
				<li><a href="/discussion.html">Discussion</a></li>
			</ul>
		</div>
	</body>
</html>
<%
end