view website/src/index.html.luan @ 1698:2dbcc8360a3e

backup security
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 27 Jun 2022 20:51:49 -0600
parents 8066b8882732
children 7d2297155ee3
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>Luan</title>
	</head>
	<body>
<%		header() %>
		<div content>
			<h1>The Luan Programming Language</h1>

			<p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/technologies/downloads/#java8">Java</a>.  Luan is <a href="http://www.reactionary.software/">reactionary software</a>.</p>

			<ul links>
				<li><a href="why.html">Why Luan?</a></li>
				<li><a href="docs.html">Documentation</a></li>
				<li><a href="download/">Download</a></li>
				<li><a href="https://hg.reactionary.software/repo/luan">Source</a></li>
				<li><a href="http://forum.luan.software/">Support Forum</a></li>
				<li><a href="goodjava.html">The goodjava Library</a></li>
			</ul>

			<div footer>
				Luan was optimized with <a href="https://www.yourkit.com/java/profiler/">YourKit Java Profiler <img src="https://www.yourkit.com/images/yklogo.png"></a>.
			</div>
		</div>
	</body>
</html>
<%
end