Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
561:363d07e26549 | 562:7cc9d4a53d3b |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io" |
2 local Html = require "luan:Html" | |
3 local Http = require "luan:http/Http" | 2 local Http = require "luan:http/Http" |
4 | 3 |
5 | 4 |
6 return function() | 5 return function() |
7 Io.stdout = Http.response.text_writer() | 6 Io.stdout = Http.response.text_writer() |
8 %> | 7 %> |
9 <html> | 8 <html> |
10 <head> | 9 <head> |
11 <% Html.simply_html_head() %> | |
12 <title>Luan</title> | 10 <title>Luan</title> |
11 <style> | |
12 @import "/site.css"; | |
13 h1 { | |
14 margin: .5em 0 0; | |
15 } | |
16 div[uc] { | |
17 margin: .5em 0 2.5em; | |
18 } | |
19 div[intro] { | |
20 margin: 1.5em 0; | |
21 } | |
22 div[link] { | |
23 margin: 0.5em 0; | |
24 } | |
25 </style> | |
13 </head> | 26 </head> |
14 <body> | 27 <body> |
15 <div container> | 28 <div container> |
16 <h1>The Luan Programming Language</h1> | 29 <h1>The Luan Programming Language</h1> |
17 <big> | 30 <div uc>under construction...</div> |
18 <p margin-bottom="2em">under construction...</p> | 31 <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> |
19 <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> | 32 <div link><a href="docs.html">Documentation</a></div> |
20 <p> | 33 <div link><a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a></div> |
21 <a href="docs.html">Documentation</a><br> | 34 <div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div> |
22 <a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a><br> | 35 <div link><a href="http://luan.7479.n7.nabble.com/">Forum</a></div> |
23 <a href="https://bitbucket.org/frschmidt/luan">Source</a><br> | |
24 <a href="http://luan.7479.n7.nabble.com/">Forum</a><br> | |
25 </p> | |
26 </big> | |
27 <p margin-top="2em"><small>This website was made with <a href="http://www.simplyhtml.org/">SimplyHTML</a>.</small></p> | |
28 </div> | 36 </div> |
29 <% Html.simply_html_body_bottom() %> | |
30 </body> | 37 </body> |
31 </html> | 38 </html> |
32 <% | 39 <% |
33 end | 40 end |