comparison website/src/docs.html.luan @ 1324:1660136ac451

website - remove Shared.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Feb 2019 22:38:46 -0700
parents 3860ed4b8552
children
comparison
equal deleted inserted replaced
1323:3860ed4b8552 1324:1660136ac451
1 local Io = require "luan:Io.luan" 1 local Io = require "luan:Io.luan"
2 local Http = require "luan:http/Http.luan" 2 local Http = require "luan:http/Http.luan"
3 local Shared = require "site:/Shared.luan"
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 %>
13 <style> 12 <style>
14 @import "/site.css"; 13 @import "/site.css";
15 </style> 14 </style>
16 </head> 15 </head>
17 <body> 16 <body>
18 <% Shared.header() %> 17 <div small><a href="/">Luan</a></div>
18
19 <h1>Luan Documentation</h1> 19 <h1>Luan Documentation</h1>
20 20
21 <div link><a href="tutorial.html">Tutorial</a></div> 21 <div link><a href="tutorial.html">Tutorial</a></div>
22 <div link><a href="pil.html">Programming in Lua (book)</a></div> 22 <div link><a href="pil.html">Programming in Lua (book)</a></div>
23 <div link><a href="manual.html">Reference Manual</a></div> 23 <div link><a href="manual.html">Reference Manual</a></div>