Mercurial Hosting > luan
diff website/src/docs.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/docs.html.luan Tue Jun 23 16:45:16 2015 -0600 +++ b/website/src/docs.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" local Shared = require "site:/Shared" @@ -9,25 +8,22 @@ %> <html> <head> - <% Html.simply_html_head() %> <title>Luan Documentation</title> + <style> + @import "/site.css"; + div[link] { + margin: 0.5em 0; + } + </style> </head> <body> - <div container> - <% Shared.header() %> - <h1 margin-bottom="1em">Luan Documentation</h1> + <% Shared.header() %> + <h1>Luan Documentation</h1> - <big> - <p> - <a href="tutorial.html">Tutorial</a><br> - <a href="pil.html">Programming in Lua (book)</a><br> - <a href="manual.html">Reference Manual</a><br> - <a href="diff.html">How Luan differs from Lua</a><br> - </p> - </big> - - </div> - <% Html.simply_html_body_bottom() %> + <div link><a href="tutorial.html">Tutorial</a></div> + <div link><a href="pil.html">Programming in Lua (book)</a></div> + <div link><a href="manual.html">Reference Manual</a></div> + <div link><a href="diff.html">How Luan differs from Lua</a></div> </body> </html> <%