view website/src/index.html.luan @ 428:df95199ca4c0

rename __newindex to __new_index
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 02 May 2015 20:10:31 -0600
parents 2f5cc9c2cbf0
children 2b9bc97f0439
line wrap: on
line source

local Io = require "luan:Io"
local Html = require "luan:Html"
local Http = require "luan:web/Http"


function service()
	Io.stdout = Http.response.text_writer()
%>
<html>
	<head>
		<% Html.simply_html_head() %>
		<title>Luan</title>
	</head>
	<body>
		<div container>
			<h1>The Luan Programming Language</h1>
			<big>
				<p margin-bottom="2em">under construction...</p>
				<p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</p>
				<p>
					<a href="docs.html">Documentation</a><br>
					<a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a><br>
					<a href="https://bitbucket.org/frschmidt/luan">Source</a><br>
					<a href="http://luan.7479.n7.nabble.com/">Forum</a><br>
				</p>
			</big>
			<p margin-top="2em"><small>This website was made with <a href="http://www.simplyhtml.org/">SimplyHTML</a>.</small></p>
		</div>
		<% Html.simply_html_body_bottom() %>
	</body>
</html>
<%
end