view website/src/index.html.luan @ 503:92c3d22745b8

make _ENV optional
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 20 May 2015 23:24:46 -0600
parents 598123096772
children 7bc63886d4f2
line wrap: on
line source

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

local M = {}

function M.respond()
	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

return M