view website/src/index.html.luan @ 604:b73f005f3735 0.13

table constructor now uses end_of_line as a delimiter
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 24 Nov 2015 16:29:27 -0700
parents 7cc9d4a53d3b
children ca169567ce07
line wrap: on
line source

local Io = require "luan:Io"
local Http = require "luan:http/Http"


return function()
	Io.stdout = Http.response.text_writer()
%>
<html>
	<head>
		<title>Luan</title>
		<style>
			@import "/site.css";
			h1 {
				margin: .5em 0 0;
			}
			div[uc] {
				margin: .5em 0 2.5em;
			}
			div[intro] {
				margin: 1.5em 0;
			}
			div[link] {
				margin: 0.5em 0;
			}
		</style>
	</head>
	<body>
		<div container>
			<h1>The Luan Programming Language</h1>
			<div uc>under construction...</div>
			<div intro>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</div>
			<div link><a href="docs.html">Documentation</a></div>
			<div link><a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a></div>
			<div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div>
			<div link><a href="http://luan.7479.n7.nabble.com/">Forum</a></div>
		</div>
	</body>
</html>
<%
end