diff website/src/index.html.luan @ 562:7cc9d4a53d3b

remove SimplyHTML from documentation
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 24 Jun 2015 14:20:00 -0600
parents 7bc63886d4f2
children ca169567ce07
line wrap: on
line diff
--- a/website/src/index.html.luan	Tue Jun 23 16:45:16 2015 -0600
+++ b/website/src/index.html.luan	Wed Jun 24 14:20:00 2015 -0600
@@ -1,5 +1,4 @@
 local Io = require "luan:Io"
-local Html = require "luan:Html"
 local Http = require "luan:http/Http"
 
 
@@ -8,25 +7,33 @@
 %>
 <html>
 	<head>
-		<% Html.simply_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>
-			<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 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>
-		<% Html.simply_html_body_bottom() %>
 	</body>
 </html>
 <%