view website/src/index.html.luan @ 390:bfbbce690bba

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 24 Apr 2015 12:31:13 -0600
parents db23f654f87d
children 2f5cc9c2cbf0
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.simply_html_page{
		head = function() %>
			<title>Luan</title>
<%		end;
		body = function() %>
		<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>
<%		end;
	}
end