view website/src/docs.html.luan @ 1264:d41997776788

fix onClose issues
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 25 Sep 2018 17:03:57 -0600
parents 5dbb552075ff
children 3860ed4b8552
line wrap: on
line source

local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"
local Shared = require "site:/Shared.luan"


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
		<title>Luan Documentation</title>
		<style>
			@import "/site.css";
			div[link] {
				margin: 0.5em 0;
			}
		</style>
	</head>
	<body>
		<% Shared.header() %>
		<h1>Luan Documentation</h1>

		<div link><a href="tutorial.html">Tutorial</a></div>
		<div link><a href="pil.html">Programming in Lua (book)</a></div>
		<div link><a href="manual.html">Reference Manual</a></div>
		<div link><a href="diff.html">How Luan differs from Lua</a></div>
	</body>
</html>
<%
end